.works-page {
  --terminal: #06100d;
  --terminal-raised: #0a1914;
  --terminal-line: rgba(113, 245, 189, 0.2);
  --terminal-grid: rgba(113, 245, 189, 0.045);
  --faint: #89978f;
  --shell: 1080px;
  background: var(--paper);
  font-size: 15px;
}

.works-page .site-header {
  background: rgba(5, 11, 9, 0.88);
}

.works-page h1 {
  max-width: 19ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.works-page h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.works-page h3 {
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.works-page .section-index {
  margin-bottom: 10px;
  font-size: 0.6rem;
}

.works-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: clamp(44px, 6vw, 68px) 0 0;
  color: var(--paper-ink);
  background:
    linear-gradient(rgba(17, 23, 19, 0.04) 1px, transparent 1px) 0 0 / 100% 36px,
    var(--paper);
}

.works-hero::before {
  display: none;
}

.scanlines {
  display: none;
}

.works-hero-grid {
  position: relative;
  z-index: 3;
  max-width: 940px;
}

.works-hero-copy {
  max-width: 740px;
}

.works-hero-copy .hero-lede {
  max-width: 700px;
  margin: 0 0 12px;
  color: rgba(17, 23, 19, 0.7);
  font-size: 0.94rem;
  line-height: 1.72;
}

.works-hero-copy .eyebrow {
  margin-bottom: 16px;
  color: #116743;
  font-size: 0.62rem;
}

.works-hero-copy .eyebrow span {
  background: #116743;
  box-shadow: none;
}

.works-hero-copy h1 span {
  display: block;
  color: #116743;
}

.hero-terminal,
.frame-visual,
.folder-terminal {
  overflow: hidden;
  border: 1px solid var(--terminal-line);
  border-radius: 7px;
  background:
    linear-gradient(rgba(113, 245, 189, 0.02) 1px, transparent 1px) 0 0 / 100% 28px,
    rgba(3, 10, 8, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.hero-terminal {
  margin: 30px 0 0;
  transform: none;
}

.terminal-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--terminal-line);
  color: var(--faint);
  background: rgba(113, 245, 189, 0.035);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.045em;
}

.terminal-bar > i {
  width: 7px;
  height: 7px;
  border: 1px solid #587067;
  border-radius: 50%;
}

.terminal-bar > i:first-child {
  border-color: var(--orange);
  background: rgba(255, 121, 91, 0.6);
}

.terminal-bar > i:nth-child(2) {
  border-color: var(--lime);
  background: rgba(214, 255, 103, 0.42);
}

.terminal-bar > i:nth-child(3) {
  border-color: var(--mint);
  background: rgba(113, 245, 189, 0.5);
}

.terminal-bar > span {
  overflow: hidden;
  flex: 1;
  margin-left: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-bar > b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint);
  font-weight: 620;
}

.terminal-bar > b::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px var(--mint);
  content: "";
}

.hero-system {
  display: grid;
  grid-template-columns: 1fr 48px 0.92fr 48px 1fr;
  align-items: center;
  min-height: 310px;
  padding: 22px 16px;
}

.mini-device,
.mini-cloud {
  min-width: 0;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.mini-device > span,
.mini-cloud > span {
  display: block;
  margin-bottom: 38px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-device > code,
.cloud-file code {
  display: block;
  overflow: hidden;
  margin-top: 10px;
  color: #d3ddd8;
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-device > small,
.mini-cloud > small {
  display: block;
  margin-top: 20px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screen-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e8eee9;
  font-size: 0.8rem;
}

.screen-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.mini-cloud {
  border-style: dashed;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(113, 245, 189, 0.022) 0,
      rgba(113, 245, 189, 0.022) 8px,
      transparent 8px,
      transparent 16px
    ),
    rgba(0, 0, 0, 0.22);
}

.cloud-file {
  padding: 12px;
  border: 1px solid var(--terminal-line);
  border-radius: 7px;
  background: #06100d;
}

.cloud-file b {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloud-file code {
  color: #78988d;
  letter-spacing: 0.08em;
}

.packet-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.packet-route span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.5rem;
}

.packet-route i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px rgba(113, 245, 189, 0.7);
}

.packet-route i:nth-of-type(2) {
  opacity: 0.55;
}

.packet-route i:nth-of-type(3) {
  opacity: 0.25;
}

.route-in {
  transform: rotate(180deg);
}

.route-in span {
  transform: rotate(180deg);
}

.hero-terminal figcaption,
.frame-visual figcaption {
  margin: 0;
  padding: 13px 16px;
  border-top: 1px solid var(--terminal-line);
  color: var(--faint);
  background: rgba(113, 245, 189, 0.025);
  font-size: 0.71rem;
  line-height: 1.5;
}

.command-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: clamp(34px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-inline: 1px solid var(--line);
  background: var(--terminal);
}

.command-strip code {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #c8d4cd;
  font-size: 0.7rem;
}

.command-strip code b {
  margin-right: 9px;
  color: var(--mint);
}

.command-strip > span {
  position: relative;
  color: var(--lime);
  text-align: center;
}

.command-strip > span::before {
  position: absolute;
  top: 50%;
  right: calc(50% + 10px);
  left: -4px;
  height: 1px;
  background: var(--line);
  content: "";
}

.works-section {
  position: relative;
  padding: clamp(54px, 7vw, 78px) 0;
  border-top: 1px solid rgba(17, 23, 19, 0.16);
}

.works-section > .shell {
  max-width: 940px;
}

.works-heading {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.works-heading > p {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(17, 23, 19, 0.68);
  font-size: clamp(0.82rem, 1.2vw, 0.94rem);
  line-height: 1.65;
}

.works-heading h2 {
  max-width: 18ch;
}

.article-prose {
  max-width: 700px;
  margin: clamp(30px, 4.5vw, 46px) auto;
}

.article-prose p,
.frame-copy p,
.one-file-copy p,
.deletion-copy p,
.baseline-copy p {
  margin: 0;
  color: rgba(17, 23, 19, 0.72);
  font-size: 0.9rem;
  line-height: 1.76;
}

.article-prose p + p,
.frame-copy p + p,
.one-file-copy p + p,
.deletion-copy p + p,
.baseline-copy p + p {
  margin-top: 1em;
}

.article-transition {
  padding-top: clamp(24px, 3.5vw, 34px);
  border-top: 1px solid rgba(17, 23, 19, 0.16);
}

.evolution-section {
  color: var(--paper-ink);
  background: var(--paper);
}

.operators-model {
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--paper-ink);
  border-radius: 5px;
  color: var(--ink);
  background:
    linear-gradient(rgba(113, 245, 189, 0.025) 1px, transparent 1px) 0 0 / 100% 30px,
    #06100d;
  box-shadow: 0 28px 70px rgba(7, 17, 15, 0.2);
}

.operator-stage {
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
}

.operator-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--terminal-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.operator-label {
  display: flex;
  align-items: center;
  gap: 11px;
}

.operator-label span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.operator-label b {
  font-size: 0.9rem;
}

.privilege-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.privilege-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(113, 245, 189, 0.18);
  border-radius: 100px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.54rem;
}

.privilege-list i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.operator-edit {
  margin-top: 36px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.operator-edit small,
.operator-edit code {
  display: block;
}

.operator-edit small {
  margin-bottom: 7px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.operator-edit code {
  overflow: hidden;
  color: var(--lime);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-coordination {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.no-coordination::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  border-left: 1px dashed rgba(113, 245, 189, 0.24);
  content: "";
}

.no-coordination span,
.no-coordination i {
  position: relative;
  z-index: 1;
  background: #06100d;
}

.no-coordination span {
  padding: 3px 8px;
}

.no-coordination i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--orange);
  border-radius: 50%;
}

.operator-publish {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.78fr) 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--terminal-line);
  border-bottom: 1px solid var(--terminal-line);
  background: rgba(0, 0, 0, 0.18);
}

.publish-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.52rem;
}

.publish-arrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px rgba(113, 245, 189, 0.55);
}

.publish-arrow i:nth-of-type(2) {
  opacity: 0.55;
}

.publish-arrow i:nth-of-type(3) {
  opacity: 0.25;
}

.reverse-publish {
  flex-direction: row-reverse;
}

.published-files {
  padding: 16px;
  border: 1px dashed var(--terminal-line);
  border-radius: 8px;
}

.published-files > span {
  display: block;
  margin-bottom: 13px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.published-files > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(113, 245, 189, 0.12);
  font-family: var(--mono);
  font-size: 0.57rem;
}

.published-files b {
  overflow: hidden;
  color: #d2ded8;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.published-files code {
  color: #78998e;
}

.operator-result {
  max-width: 520px;
  margin: 38px auto;
  padding: 19px;
  border: 1px solid rgba(214, 255, 103, 0.4);
  border-radius: 9px;
  background: rgba(214, 255, 103, 0.04);
}

.operator-result > span,
.operator-result > b {
  display: block;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.operator-result > span {
  margin-bottom: 16px;
  color: var(--faint);
}

.operator-result dl,
.operator-result dd {
  margin: 0;
}

.operator-result dl > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.operator-result dt {
  color: var(--faint);
}

.operator-result dd {
  color: #e1e9e5;
}

.operator-result > b {
  margin-top: 17px;
  color: var(--lime);
  font-weight: 600;
}

.operators-model figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--terminal-line);
  color: var(--faint);
  background: rgba(113, 245, 189, 0.025);
  font-size: 0.73rem;
}

.cloud-file b:not(:first-child) {
  margin-top: 11px;
}

.one-file-detour {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid rgba(17, 23, 19, 0.28);
}

.one-file-copy {
  max-width: 700px;
  margin: 0 auto 24px;
}

.one-file-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.one-file-copy h3 code {
  font-size: 0.72em;
  letter-spacing: -0.055em;
}

.one-file-copy > p code {
  padding: 2px 5px;
  border: 1px solid rgba(17, 23, 19, 0.22);
  border-radius: 4px;
  font-size: 0.8em;
}

.force-push-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  overflow: hidden;
  margin: 0;
  padding: 17px;
  border: 1px solid var(--paper-ink);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
}

.force-command,
.single-file {
  padding: 16px;
  border: 1px solid rgba(17, 23, 19, 0.24);
  border-radius: 6px;
}

.force-command span,
.force-command code,
.force-command small,
.single-file span,
.single-file b,
.single-file code {
  display: block;
}

.force-command span,
.single-file span {
  margin-bottom: 24px;
  opacity: 0.55;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.force-command code {
  font-size: 0.63rem;
  font-weight: 700;
}

.force-a code {
  color: #116743;
}

.force-b code {
  color: #9d392d;
}

.force-command small {
  margin-top: 7px;
  opacity: 0.6;
  font-size: 0.58rem;
}

.collision-lines {
  position: relative;
  grid-column: 1 / -1;
  height: 74px;
}

.collision-lines i {
  position: absolute;
  top: 18px;
  width: calc(50% - 17px);
  height: 1px;
  background: var(--paper-ink);
}

.collision-lines i:first-child {
  left: 0;
  transform: rotate(8deg);
  transform-origin: left;
}

.collision-lines i:nth-child(2) {
  right: 0;
  transform: rotate(-8deg);
  transform-origin: right;
}

.collision-lines b {
  position: absolute;
  top: 25px;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #9d392d;
  border-radius: 50%;
  color: #9d392d;
  background: var(--paper);
  transform: translateX(-50%);
}

.single-file {
  grid-column: 1 / -1;
  width: min(70%, 330px);
  justify-self: center;
  border-color: #9d392d;
  text-align: center;
}

.single-file b {
  font-family: var(--mono);
  font-size: 0.82rem;
}

.single-file code {
  margin-top: 7px;
  color: #9d392d;
  font-size: 0.59rem;
}

.force-push-diagram figcaption {
  grid-column: 1 / -1;
  margin: 5px -17px -17px;
  padding: 14px 17px;
  border-top: 1px solid rgba(17, 23, 19, 0.22);
  background: rgba(157, 57, 45, 0.045);
  font-size: 0.72rem;
  line-height: 1.55;
}

.journey-section {
  overflow: hidden;
  color: var(--paper-ink);
  background: var(--paper);
}

.journey-heading {
  position: relative;
}

.journey-heading::after {
  position: absolute;
  right: 0;
  bottom: -24px;
  left: 0;
  height: 1px;
  background: rgba(17, 23, 19, 0.16);
  content: "";
}

.story-rail {
  max-width: 940px;
  margin-inline: auto;
}

.story-frame {
  padding: clamp(34px, 5vw, 52px) 0;
}

.story-frame:first-child {
  padding-top: 8px;
}

.frame-copy {
  max-width: 700px;
  margin: 0 auto 24px;
}

.frame-kicker {
  margin: 0 0 10px;
  color: #116743;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.frame-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2.25vw, 1.8rem);
}

.frame-visual {
  margin: 0;
  border-radius: 7px;
}

.local-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 120px;
  align-items: center;
  gap: 18px;
  min-height: 315px;
  padding: 34px;
}

.record-card {
  padding: 18px;
  border: 1px solid var(--terminal-line);
  border-radius: 8px;
  background: rgba(113, 245, 189, 0.035);
}

.record-card > span,
.outbox-stack > span {
  display: block;
  margin-bottom: 34px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-card .field-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.record-card .field-row > span {
  margin: 0;
  color: var(--faint);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.record-card .field-row b {
  overflow: hidden;
  color: #d9e3de;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-card .field-row b.changed {
  color: var(--lime);
}

.local-arrow {
  color: var(--lime);
  font-family: var(--mono);
  text-align: center;
}

.outbox-stack {
  position: relative;
  min-height: 150px;
  padding: 16px;
  border: 1px dashed var(--terminal-line);
  border-radius: 8px;
}

.outbox-stack i {
  position: absolute;
  right: 20px;
  bottom: 38px;
  left: 20px;
  height: 48px;
  border: 1px solid rgba(214, 255, 103, 0.35);
  border-radius: 4px;
  background: #0b1a14;
}

.outbox-stack i:nth-of-type(2) {
  transform: translateY(-7px);
}

.outbox-stack b {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.network-offline {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-top: 1px solid var(--terminal-line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.network-offline span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: rgba(255, 121, 91, 0.36);
}

.transform-pipeline {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 285px;
  padding: 32px;
}

.transform-box {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.transform-box small {
  display: block;
  margin-bottom: 36px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transform-box code {
  display: block;
  overflow: hidden;
  color: #dce5e0;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transform-pipeline > span {
  color: var(--lime);
  text-align: center;
}

.envelope {
  border-color: rgba(112, 220, 255, 0.3);
}

.cipher-box {
  border-style: dashed;
  border-color: rgba(113, 245, 189, 0.32);
  background: repeating-linear-gradient(
    -45deg,
    rgba(113, 245, 189, 0.026) 0,
    rgba(113, 245, 189, 0.026) 7px,
    transparent 7px,
    transparent 14px
  );
}

.cipher-box code {
  color: #809f94;
  letter-spacing: 0.08em;
}

.artifact-name {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 3px;
  padding: 0 16px;
  border-top: 1px solid var(--terminal-line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.artifact-name b {
  overflow: hidden;
  color: var(--mint);
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remote-visual {
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}

.remote-providers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.remote-providers span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: #07110e;
  font-family: var(--mono);
  font-size: 0.56rem;
}

.folder-terminal {
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.folder-tree {
  padding: 28px 28px 20px;
}

.folder-tree div {
  display: grid;
  grid-template-columns: 36px minmax(140px, 0.65fr) minmax(170px, 1fr);
  gap: 12px;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid rgba(113, 245, 189, 0.08);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.folder-tree div > span {
  color: #7b998e;
}

.folder-tree b {
  color: #d2ddd7;
  font-weight: 580;
}

.folder-tree small {
  color: var(--faint);
  font-size: 0.58rem;
}

.no-brain {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--terminal-line);
  color: var(--mint);
  background: rgba(113, 245, 189, 0.025);
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.no-brain span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
}

.remote-visual figcaption {
  margin-top: 13px;
  border: 0;
  border-left: 2px solid var(--orange);
  color: rgba(17, 23, 19, 0.72);
  background: rgba(255, 121, 91, 0.04);
}

.merge-board {
  display: grid;
  grid-template-columns: 1fr 72px 1.15fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 13px 20px;
  min-height: 315px;
  padding: 30px;
}

.edit-card,
.merged-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.edit-card span,
.merged-card > span {
  display: block;
  margin-bottom: 24px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edit-card small {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.edit-card b {
  display: block;
  overflow: hidden;
  color: #e0e7e3;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-a {
  grid-column: 1;
  grid-row: 1;
}

.edit-b {
  grid-column: 1;
  grid-row: 2;
}

.merge-lines {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
}

.merge-lines::after {
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 50%;
  width: 1px;
  background: var(--mint);
  content: "";
}

.merge-lines i {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--mint);
}

.merge-lines i:first-child {
  top: 25%;
}

.merge-lines i:last-child {
  bottom: 25%;
}

.merge-lines i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  content: "";
}

.merged-card {
  grid-column: 3;
  grid-row: 1 / 3;
  border-color: rgba(214, 255, 103, 0.4);
  background: rgba(214, 255, 103, 0.04);
}

.merged-card dl,
.merged-card dd {
  margin: 0;
}

.merged-card dl div {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.61rem;
}

.merged-card dt {
  color: var(--faint);
}

.merged-card dd {
  overflow: hidden;
  color: var(--lime);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.merge-rule {
  padding: 12px 16px;
  border-top: 1px solid var(--terminal-line);
  color: #b8c6bf;
  background: rgba(112, 220, 255, 0.035);
  font-size: 0.67rem;
}

.compaction-section {
  overflow: hidden;
  color: var(--paper-ink);
  background: var(--paper);
}

.compaction-heading h2 {
  max-width: 18ch;
}

.history-pressure,
.tombstone-diagram,
.baseline-diagram {
  overflow: hidden;
  margin: 0;
  color: #e4ece8;
  border: 1px solid rgba(149, 135, 255, 0.38);
  border-radius: 7px;
  background:
    linear-gradient(rgba(149, 135, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 28px,
    #070b10;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.history-pressure {
  margin-top: clamp(28px, 4vw, 40px);
}

.history-log {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding: 30px;
}

.history-item {
  min-width: 0;
  min-height: 108px;
  padding: 13px;
  border: 1px solid rgba(113, 245, 189, 0.2);
  border-radius: 7px;
  background: rgba(113, 245, 189, 0.025);
}

.history-item span,
.history-item b {
  display: block;
  font-family: var(--mono);
}

.history-item span {
  margin-bottom: 42px;
  color: var(--mint);
  font-size: 0.58rem;
}

.history-item b {
  overflow: hidden;
  color: #cbd6d1;
  font-size: 0.55rem;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-gap {
  border-style: dashed;
  opacity: 0.48;
}

.history-delete {
  border-color: rgba(255, 121, 91, 0.45);
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 121, 91, 0.035) 0,
    rgba(255, 121, 91, 0.035) 7px,
    transparent 7px,
    transparent 14px
  );
}

.history-delete span,
.history-delete b {
  color: var(--orange);
}

.reader-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid var(--terminal-line);
  background: rgba(149, 135, 255, 0.18);
}

.reader-card {
  min-height: 190px;
  padding: 24px;
  background: #090c13;
}

.reader-card span,
.reader-card code,
.reader-card strong,
.reader-card small {
  display: block;
}

.reader-card span {
  margin-bottom: 25px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reader-card code {
  margin-bottom: 8px;
  color: #869b91;
  font-size: 0.62rem;
}

.reader-card strong {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  letter-spacing: -0.025em;
}

.reader-card small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.63rem;
}

.reader-current strong {
  color: var(--lime);
}

.reader-fresh strong {
  color: var(--orange);
}

.history-pressure figcaption,
.tombstone-diagram figcaption,
.baseline-diagram figcaption {
  padding: 15px 20px;
  border-top: 1px solid var(--terminal-line);
  color: #aebbb5;
  background: rgba(149, 135, 255, 0.075);
  font-size: 0.7rem;
  line-height: 1.55;
}

.deletion-story,
.baseline-story {
  margin-top: clamp(52px, 7vw, 76px);
  padding-top: 24px;
  border-top: 1px solid rgba(17, 23, 19, 0.18);
}

.deletion-copy,
.baseline-copy {
  max-width: 700px;
  margin: 0 auto 24px;
}

.deletion-copy h3,
.baseline-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2.25vw, 1.8rem);
}

.tombstone-track {
  padding: 28px;
}

.tombstone-step {
  position: relative;
  display: grid;
  grid-template-columns: 82px 38px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 88px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.tombstone-step > span {
  grid-row: 1 / 3;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.tombstone-step > i {
  position: relative;
  grid-row: 1 / 3;
  width: 22px;
  height: 26px;
  border: 1px solid var(--mint);
  border-radius: 3px 8px 3px 3px;
}

.tombstone-step > i::before,
.tombstone-step > i::after {
  position: absolute;
  right: 4px;
  left: 4px;
  height: 1px;
  background: var(--mint);
  content: "";
}

.tombstone-step > i::before {
  top: 9px;
}

.tombstone-step > i::after {
  top: 15px;
}

.tombstone-step b {
  align-self: end;
  color: #dbe5e0;
  font-size: 0.83rem;
}

.tombstone-step code {
  align-self: start;
  margin-top: 5px;
  color: var(--faint);
  font-size: 0.56rem;
}

.row-deleted,
.row-remembered {
  border-color: rgba(255, 121, 91, 0.36);
}

.row-deleted > i,
.row-remembered > i {
  border-color: var(--orange);
}

.row-deleted > i::before,
.row-deleted > i::after,
.row-remembered > i::before,
.row-remembered > i::after {
  top: 12px;
  background: var(--orange);
  transform: rotate(40deg);
}

.row-deleted > i::after,
.row-remembered > i::after {
  transform: rotate(-40deg);
}

.row-collected {
  border-color: rgba(214, 255, 103, 0.38);
  background: rgba(214, 255, 103, 0.035);
}

.row-collected > i {
  border-style: dashed;
  border-color: var(--lime);
  opacity: 0.68;
}

.row-collected > i::before,
.row-collected > i::after {
  display: none;
}

.tombstone-arrow {
  height: 34px;
  padding-left: 55%;
  color: var(--orange);
  font-family: var(--mono);
  line-height: 34px;
  transform: rotate(90deg);
}

.stale-writer {
  display: grid;
  grid-template-columns: 1fr 42px 1.35fr;
  align-items: center;
  gap: 15px;
  padding: 22px 28px;
  border-top: 1px solid var(--terminal-line);
  background: rgba(255, 121, 91, 0.045);
}

.stale-writer span,
.stale-writer code {
  display: block;
}

.stale-writer span {
  margin-bottom: 7px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.stale-writer code {
  color: #d6dfda;
  font-size: 0.6rem;
}

.stale-writer > b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
}

.stale-writer p {
  margin: 0;
  color: #b5c1bb;
  font-size: 0.67rem;
  line-height: 1.55;
}

.baseline-story {
  display: block;
}

.baseline-diagram {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
}

.baseline-before,
.baseline-after {
  min-width: 0;
  padding: 26px;
}

.baseline-before > span,
.baseline-after > span {
  display: block;
  margin-bottom: 30px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 18px;
}

.before-stack i {
  display: grid;
  min-height: 50px;
  place-items: center;
  border: 1px solid rgba(113, 245, 189, 0.24);
  border-radius: 5px;
  color: #7b958a;
  background: rgba(113, 245, 189, 0.025);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-style: normal;
}

.before-stack i.deleted-op {
  color: var(--orange);
  border-color: rgba(255, 121, 91, 0.35);
}

.baseline-before > code {
  color: var(--orange);
  font-size: 0.57rem;
}

.compaction-pipeline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 10px;
  margin: 0;
  border-right: 1px solid var(--terminal-line);
  border-left: 1px solid var(--terminal-line);
  list-style: none;
}

.compaction-pipeline li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.53rem;
}

.compaction-pipeline b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-weight: 500;
}

.compaction-pipeline li:not(:last-child)::after {
  grid-column: 1;
  justify-self: center;
  height: 8px;
  border-left: 1px solid rgba(113, 245, 189, 0.36);
  content: "";
}

.snapshot-card {
  padding: 19px;
  border: 1px solid rgba(214, 255, 103, 0.42);
  border-radius: 5px 20px 5px 5px;
  background: rgba(214, 255, 103, 0.04);
}

.snapshot-card small,
.snapshot-card b,
.snapshot-card code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snapshot-card small {
  margin-bottom: 30px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.52rem;
}

.snapshot-card b {
  color: #e0e9e4;
  font-family: var(--mono);
  font-size: 0.56rem;
}

.snapshot-card code {
  margin-top: 7px;
  color: var(--lime);
  font-size: 0.53rem;
}

.manifest-pointer,
.future-deltas {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.52rem;
}

.manifest-pointer {
  color: var(--faint);
}

.manifest-pointer b {
  color: var(--mint);
}

.manifest-pointer i {
  color: var(--lime);
  font-style: normal;
}

.future-deltas span {
  margin-right: auto;
  color: var(--faint);
  text-transform: uppercase;
}

.future-deltas b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(113, 245, 189, 0.25);
  border-radius: 4px;
  color: var(--mint);
  font-weight: 500;
}

.rehydrate-path {
  grid-column: 1 / -1;
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 20px;
  border-top: 1px solid var(--terminal-line);
  background: rgba(149, 135, 255, 0.045);
  font-family: var(--mono);
  font-size: 0.57rem;
}

.rehydrate-path > span {
  color: var(--faint);
}

.rehydrate-path strong {
  padding: 8px 11px;
  border: 1px solid rgba(149, 135, 255, 0.35);
  border-radius: 4px;
  color: #dcd8ff;
  font-weight: 560;
}

.rehydrate-path i {
  color: var(--lime);
  font-style: normal;
}

.rehydrate-path code {
  color: #afbbb5;
}

.baseline-diagram figcaption {
  grid-column: 1 / -1;
}

.boundary-section {
  color: var(--paper-ink);
  background: var(--paper);
}

.boundary-section .works-heading > p {
  color: rgba(17, 23, 19, 0.66);
}

.boundary-diagram {
  display: grid;
  grid-template-columns: 1fr 90px 0.92fr 90px 1fr;
  align-items: center;
  margin: 0;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--paper-ink);
  background:
    linear-gradient(rgba(17, 23, 19, 0.055) 1px, transparent 1px) 0 0 / 100% 28px,
    rgba(255, 255, 255, 0.22);
}

.trust-zone,
.untrusted-zone {
  min-height: 300px;
  padding: 22px;
  border: 1px solid rgba(17, 23, 19, 0.24);
}

.trust-zone {
  background: rgba(113, 245, 189, 0.18);
}

.untrusted-zone {
  color: var(--ink);
  border-color: #07110f;
  border-style: dashed;
  background: #07110f;
}

.zone-label span,
.zone-label b {
  display: block;
}

.zone-label span {
  margin-bottom: 3px;
  opacity: 0.55;
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zone-label b {
  font-size: 1rem;
}

.zone-contents {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 15px;
  margin-top: 62px;
  font-family: var(--mono);
  font-size: 0.61rem;
}

.key-shape {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--paper-ink);
  border-radius: 50%;
}

.key-shape::after {
  position: absolute;
  top: 12px;
  left: 22px;
  width: 22px;
  height: 2px;
  background: var(--paper-ink);
  box-shadow: 8px 5px 0 var(--paper-ink);
  content: "";
}

.row-shape {
  position: relative;
  width: 42px;
  height: 30px;
  border: 2px solid var(--paper-ink);
  border-radius: 3px;
}

.row-shape::before,
.row-shape::after {
  position: absolute;
  right: 5px;
  left: 5px;
  height: 2px;
  background: var(--paper-ink);
  content: "";
}

.row-shape::before {
  top: 8px;
}

.row-shape::after {
  top: 17px;
}

.cipher-rain {
  display: flex;
  flex-direction: column;
  margin-top: 58px;
  color: #78998e;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.untrusted-zone strong,
.untrusted-zone small {
  display: block;
}

.untrusted-zone strong {
  margin-top: 23px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.untrusted-zone small {
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.58rem;
}

.boundary-wire {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(17, 23, 19, 0.7);
  font-family: var(--mono);
  font-size: 0.53rem;
}

.boundary-wire::before {
  position: absolute;
  top: 52px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(17, 23, 19, 0.42);
  content: "";
}

.boundary-wire i {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #147750;
}

.wire-in {
  transform: rotate(180deg);
}

.wire-in span {
  transform: rotate(180deg);
}

.boundary-diagram figcaption {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 23, 19, 0.24);
  color: rgba(17, 23, 19, 0.65);
  font-size: 0.75rem;
}

.honest-surfaces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 32px;
  border-top: 1px solid var(--paper-ink);
}

.honest-surfaces article {
  display: grid;
  grid-template-columns: 1fr 120px;
  grid-template-rows: auto 1fr auto;
  gap: 15px 20px;
  min-height: 190px;
  padding: 24px 0 0;
}

.honest-surfaces article:first-child {
  padding-right: 30px;
  border-right: 1px solid rgba(17, 23, 19, 0.22);
}

.honest-surfaces article:last-child {
  padding-left: 30px;
}

.protection-section {
  color: #e4ece8;
  border-top-color: rgba(113, 245, 189, 0.16);
  background:
    linear-gradient(rgba(113, 245, 189, 0.025) 1px, transparent 1px) 0 0 / 100% 30px,
    #06100d;
}

.protection-heading > p,
.protection-section .article-prose p {
  color: rgba(228, 236, 232, 0.7);
}

.protection-heading .section-index {
  color: var(--mint);
}

.protection-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(113, 245, 189, 0.3);
  border-radius: 7px;
  background: rgba(3, 10, 8, 0.76);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.protection-card {
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
}

.protection-card > span {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.protection-card h3 {
  margin: 18px 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.protection-card p,
.protection-card small {
  display: block;
  margin: 0;
  color: #afc0b8;
  font-size: 0.76rem;
  line-height: 1.62;
}

.protection-card small {
  margin-top: 14px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.59rem;
}

.protection-symbol {
  position: relative;
  width: 54px;
  height: 54px;
  margin-top: 28px;
}

.key-symbol i {
  position: absolute;
  top: 4px;
  left: 0;
  width: 31px;
  height: 31px;
  border: 2px solid var(--mint);
  border-radius: 50%;
}

.key-symbol i::after {
  position: absolute;
  top: 13px;
  left: 25px;
  width: 26px;
  height: 2px;
  background: var(--mint);
  box-shadow: 9px 6px 0 var(--mint);
  content: "";
}

.key-symbol b {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  background: rgba(214, 255, 103, 0.22);
}

.protection-join {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-inline: 1px solid rgba(113, 245, 189, 0.14);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.protection-join i {
  width: 1px;
  height: 74px;
  background: rgba(214, 255, 103, 0.52);
}

.gate-symbol {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gate-symbol i {
  width: 8px;
  height: 43px;
  border: 1px solid var(--lime);
  background: rgba(214, 255, 103, 0.14);
}

.gate-symbol b {
  position: absolute;
  top: 14px;
  right: 1px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  background: #06100d;
}

.protection-model figcaption {
  grid-column: 1 / -1;
  padding: 15px clamp(24px, 4vw, 38px);
  border-top: 1px solid rgba(113, 245, 189, 0.16);
  color: #aebbb5;
  background: rgba(113, 245, 189, 0.035);
  font-size: 0.7rem;
  line-height: 1.55;
}

.honest-surfaces article > span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
  text-transform: uppercase;
}

.honest-surfaces h3 {
  align-self: end;
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.honest-surfaces p {
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 0;
  opacity: 0.63;
  font-size: 0.8rem;
}

.surface-icon {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 100px;
  height: 100px;
}

.merge-icon i {
  position: absolute;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--paper-ink);
  border-radius: 50%;
}

.merge-icon i:first-child {
  left: 5px;
}

.merge-icon i:nth-child(2) {
  right: 5px;
}

.merge-icon b {
  position: absolute;
  bottom: 5px;
  left: 32px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--paper-ink);
  border-radius: 50%;
  background: var(--lime);
}

.merge-icon::before,
.merge-icon::after {
  position: absolute;
  top: 44px;
  width: 33px;
  height: 2px;
  background: var(--paper-ink);
  content: "";
}

.merge-icon::before {
  left: 18px;
  transform: rotate(42deg);
}

.merge-icon::after {
  right: 18px;
  transform: rotate(-42deg);
}

.file-icon i {
  position: absolute;
  inset: 8px 18px;
  border: 2px solid var(--paper-ink);
  border-radius: 4px 25px 4px 4px;
  background: rgba(149, 135, 255, 0.18);
}

.file-icon i::before,
.file-icon i::after {
  position: absolute;
  right: 13px;
  left: 13px;
  height: 2px;
  background: var(--paper-ink);
  content: "";
}

.file-icon i::before {
  top: 34px;
}

.file-icon i::after {
  top: 48px;
}

.adapter-section {
  color: var(--paper-ink);
  background: var(--paper);
}

.adapter-heading h2 {
  max-width: 20ch;
}

.adapter-comparison {
  overflow: hidden;
  margin: 0;
  color: #e4ece8;
  border: 1px solid rgba(113, 245, 189, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(rgba(113, 245, 189, 0.026) 1px, transparent 1px) 0 0 / 100% 28px,
    #06100d;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.adapter-lanes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr);
  align-items: stretch;
}

.adapter-lane {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
}

.adapter-lane header {
  margin-bottom: 24px;
}

.adapter-lane header span {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.adapter-lane h3 {
  margin: 0;
  color: #e4ece8;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.adapter-flow {
  padding: 0;
  margin: 0;
  list-style: none;
}

.adapter-flow li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-top: 1px solid rgba(113, 245, 189, 0.12);
  color: #c6d2cc;
  font-family: var(--mono);
  font-size: 0.6rem;
}

.adapter-flow b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(113, 245, 189, 0.44);
  border-radius: 50%;
  color: var(--mint);
  font-size: 0.52rem;
  font-weight: 500;
}

.adapter-lane > p {
  margin: 20px 0 0;
  color: #9caca4;
  font-size: 0.67rem;
  line-height: 1.6;
}

.webdav-lane {
  border-right: 1px solid rgba(113, 245, 189, 0.12);
}

.cloudflare-lane {
  border-left: 1px solid rgba(113, 245, 189, 0.12);
  background: rgba(113, 245, 189, 0.025);
}

.cloudflare-lane .adapter-flow b {
  color: var(--lime);
  border-color: rgba(214, 255, 103, 0.52);
}

.adapter-bridge {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 18px 8px;
  color: var(--faint);
  background: rgba(149, 135, 255, 0.045);
  text-align: center;
}

.adapter-bridge code {
  color: #bbb4f8;
  font-size: 0.57rem;
}

.adapter-bridge b {
  color: var(--lime);
  font-family: var(--mono);
  font-weight: 500;
}

.adapter-bridge span {
  max-width: 10ch;
  font-family: var(--mono);
  font-size: 0.5rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.adapter-comparison figcaption {
  padding: 15px 20px;
  border-top: 1px solid var(--terminal-line);
  color: #aebbb5;
  background: rgba(113, 245, 189, 0.035);
  font-size: 0.7rem;
  line-height: 1.55;
}

.adapter-matrix {
  margin-top: clamp(34px, 5vw, 48px);
  border-top: 1px solid var(--paper-ink);
}

.adapter-matrix-head,
.adapter-matrix-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 34px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 23, 19, 0.18);
}

.adapter-matrix-head {
  padding-block: 10px;
  color: rgba(17, 23, 19, 0.7);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.adapter-matrix-row strong {
  color: #116743;
  font-size: 0.78rem;
}

.adapter-matrix-row p {
  margin: 0;
  color: rgba(17, 23, 19, 0.68);
  font-size: 0.76rem;
  line-height: 1.62;
}

.adapter-matrix-row code {
  padding: 1px 4px;
  border: 1px solid rgba(17, 23, 19, 0.18);
  border-radius: 3px;
  font-size: 0.8em;
}

.adapter-caveat {
  margin-bottom: 0;
}

.technical-link {
  font-family: var(--mono);
  font-size: 0.68rem !important;
}

.technical-link a {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.recap-section {
  overflow: hidden;
  color: var(--paper-ink);
  background: var(--paper);
}

.recap-layout {
  position: relative;
  z-index: 1;
}

.recap-layout h2 {
  max-width: 19ch;
}

.closing-prose {
  margin-left: 0;
}

.recap-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  margin: clamp(28px, 4vw, 38px) 0 28px;
  list-style: none;
}

.recap-list li {
  position: relative;
  min-height: 74px;
  padding: 13px 26px 13px 0;
  border-top: 1px solid currentColor;
}

.recap-list li:not(:last-child) {
  margin-right: 16px;
}

.recap-list li:not(:last-child)::after {
  position: absolute;
  top: 30px;
  right: 0;
  content: "→";
  font-family: var(--mono);
}

.recap-list b,
.recap-list small {
  display: block;
}

.recap-list b {
  font-size: 0.82rem;
}

.recap-list small {
  margin-top: 3px;
  opacity: 0.58;
}

.reading-link {
  margin: -6px 0 24px;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.reading-link a {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

@media (max-width: 1160px) {
  .hero-terminal {
    max-width: 820px;
    transform: none;
  }

  .history-log {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .baseline-diagram {
    grid-template-columns: 1fr 120px 1fr;
  }

  .boundary-diagram {
    grid-template-columns: 1fr 55px 1fr 55px 1fr;
  }
}

@media (max-width: 860px) {
  .works-hero-grid {
    grid-template-columns: 1fr;
  }

  .works-heading {
    display: block;
  }

  .works-heading h2 {
    max-width: 18ch;
  }

  .hero-system {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mini-device,
  .mini-cloud {
    min-height: auto;
  }

  .mini-device > span,
  .mini-cloud > span {
    margin-bottom: 30px;
  }

  .packet-route {
    flex-direction: row;
    justify-content: center;
  }

  .route-in {
    transform: none;
  }

  .route-in span {
    transform: none;
  }

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

  .command-strip code {
    min-height: 58px;
  }

  .command-strip > span {
    transform: rotate(90deg);
  }

  .command-strip > span::before {
    display: none;
  }

  .operator-stage,
  .operator-publish {
    grid-template-columns: 1fr;
  }

  .no-coordination {
    min-height: 80px;
    flex-flow: row wrap;
    padding: 14px;
  }

  .no-coordination::before {
    top: 50%;
    right: 16px;
    bottom: auto;
    left: 16px;
    border-top: 1px dashed rgba(113, 245, 189, 0.24);
    border-left: 0;
  }

  .publish-arrow,
  .reverse-publish {
    flex-direction: row;
    padding: 8px 0;
  }

  .boundary-diagram {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .boundary-wire {
    flex-direction: row;
    justify-content: center;
  }

  .boundary-wire::before {
    top: 50%;
    right: 30%;
    left: 30%;
  }

  .wire-in {
    transform: none;
  }

  .wire-in span {
    transform: none;
  }

  .boundary-diagram figcaption {
    grid-column: 1;
  }

  .trust-zone,
  .untrusted-zone {
    min-height: 230px;
  }

  .zone-contents,
  .cipher-rain {
    margin-top: 35px;
  }

  .honest-surfaces {
    grid-template-columns: 1fr;
  }

  .honest-surfaces article:first-child {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 23, 19, 0.22);
  }

  .honest-surfaces article:last-child {
    padding-left: 0;
  }

  .adapter-lanes {
    grid-template-columns: 1fr;
  }

  .webdav-lane {
    border-right: 0;
    border-bottom: 1px solid rgba(113, 245, 189, 0.12);
  }

  .adapter-bridge {
    min-height: 74px;
    flex-direction: row;
  }

  .adapter-bridge span {
    max-width: none;
  }

  .cloudflare-lane {
    border-top: 1px solid rgba(113, 245, 189, 0.12);
    border-left: 0;
  }

  .protection-model {
    grid-template-columns: 1fr;
  }

  .protection-card {
    min-height: 0;
  }

  .protection-join {
    flex-direction: row;
    min-height: 64px;
    border-block: 1px solid rgba(113, 245, 189, 0.14);
    border-inline: 0;
  }

  .protection-join i {
    width: 74px;
    height: 1px;
  }

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

  .recap-list li {
    min-height: 120px;
    border-bottom: 1px solid rgba(19, 13, 8, 0.24);
  }

  .recap-list li:not(:last-child) {
    margin-right: 0;
  }

  .recap-list li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .works-page h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .works-page h2 {
    font-size: clamp(1.4rem, 6.4vw, 1.8rem);
  }

  .hero-terminal,
  .frame-visual,
  .folder-terminal {
    border-radius: 10px;
  }

  .hero-system,
  .local-workspace,
  .transform-pipeline,
  .merge-board {
    padding: 18px;
  }

  .frame-copy {
    display: block;
  }

  .frame-copy h3 {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .works-hero-copy .actions {
    align-items: center;
    flex-direction: row;
  }

  .works-hero-copy .button {
    width: auto;
  }

  .local-workspace {
    grid-template-columns: 1fr;
  }

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

  .transform-pipeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .transform-pipeline > span {
    transform: rotate(90deg);
  }

  .folder-tree {
    padding: 17px;
  }

  .folder-tree div {
    grid-template-columns: 23px 1fr;
    gap: 7px;
    padding: 8px 0;
  }

  .folder-tree small {
    grid-column: 2;
  }

  .merge-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .edit-a,
  .edit-b,
  .merged-card {
    grid-column: 1;
    grid-row: auto;
  }

  .merge-lines {
    display: none;
  }

  .history-log {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
  }

  .history-item {
    min-height: 92px;
  }

  .history-item span {
    margin-bottom: 30px;
  }

  .reader-comparison {
    grid-template-columns: 1fr;
  }

  .reader-card {
    min-height: 165px;
    padding: 20px;
  }

  .tombstone-track {
    padding: 18px;
  }

  .tombstone-step {
    grid-template-columns: 66px 32px 1fr;
    padding: 13px;
  }

  .stale-writer {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .baseline-diagram {
    grid-template-columns: 1fr;
  }

  .baseline-before,
  .baseline-after {
    padding: 22px;
  }

  .compaction-pipeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 14px;
    border: 1px solid var(--terminal-line);
  }

  .compaction-pipeline li {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.48rem;
  }

  .compaction-pipeline li:not(:last-child)::after {
    display: none;
  }

  .rehydrate-path {
    grid-column: 1;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .rehydrate-path code {
    flex-basis: 100%;
  }

  .operator-stage,
  .operator-publish {
    padding: 18px;
  }

  .force-push-diagram {
    grid-template-columns: 1fr;
  }

  .force-command,
  .collision-lines,
  .single-file,
  .force-push-diagram figcaption {
    grid-column: 1;
  }

  .collision-lines i:first-child {
    top: 0;
    left: 50%;
    width: 1px;
    height: 42px;
    transform: none;
  }

  .collision-lines i:nth-child(2) {
    display: none;
  }

  .collision-lines b {
    top: 28px;
  }

  .single-file {
    width: 100%;
  }

  .adapter-matrix-head {
    display: none;
  }

  .adapter-matrix-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 20px;
  }

  .adapter-matrix-row p::before {
    display: block;
    margin-bottom: 4px;
    color: rgba(17, 23, 19, 0.5);
    content: "Generic WebDAV";
    font-family: var(--mono);
    font-size: 0.54rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .adapter-matrix-row p:nth-of-type(2)::before {
    content: "Cloudflare Worker";
  }

  .honest-surfaces article {
    grid-template-columns: 1fr 82px;
  }

  .surface-icon {
    width: 78px;
    transform: scale(0.72);
    transform-origin: center right;
  }

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

  .recap-list li {
    min-height: 70px;
  }

  .recap-list li:not(:last-child)::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scanlines {
    display: none;
  }
}

@media print {
  .works-page {
    color: #111;
    background: #fff;
  }

  .works-hero,
  .works-section {
    min-height: 0;
    padding: 36px 0;
    color: #111;
    background: #fff;
  }

  .scanlines,
  .command-strip {
    display: none;
  }
}
