:root {
  --ink: #071311;
  --ink-soft: #10221f;
  --paper: #f4f0e5;
  --paper-strong: #fffdf7;
  --mint: #b9f795;
  --mint-bright: #d5ff94;
  --teal: #41d0ad;
  --teal-dark: #0c6b57;
  --coral: #ff806b;
  --coral-dark: #a43f32;
  --focus: #c94b3b;
  --sun: #ffc85a;
  --line-dark: rgba(7, 19, 17, 0.16);
  --line-light: rgba(244, 240, 229, 0.17);
  --muted-dark: #50605c;
  --muted-light: #9fb2ab;
  --shadow: 0 28px 80px rgba(2, 11, 9, 0.2);
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(7, 19, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 19, 17, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--coral);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

section[id],
article[id] {
  scroll-margin-top: 6rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--paper-strong);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 0.75rem max(1.25rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(244, 240, 229, 0.13);
  background: rgba(7, 19, 17, 0.92);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  color: inherit;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  overflow: visible;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand-mark path:nth-child(2) {
  stroke: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a,
.site-footer nav a {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav a {
  color: rgba(244, 240, 229, 0.76);
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--mint);
}

.header-link {
  justify-self: end;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--mint);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.header-link span {
  display: inline-block;
  margin-left: 0.25rem;
  color: var(--mint);
  transition: transform 160ms ease;
}

.header-link:hover span {
  transform: translate(2px, -2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 760px;
  padding: clamp(5rem, 9vw, 8.5rem) max(1.25rem, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(65, 208, 173, 0.11), transparent 29%),
    radial-gradient(circle at 83% 72%, rgba(255, 128, 107, 0.1), transparent 27%),
    var(--ink);
  color: var(--paper);
}

.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -13rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(185, 247, 149, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(185, 247, 149, 0.025),
    0 0 0 8rem rgba(185, 247, 149, 0.018);
  content: "";
  pointer-events: none;
}

.hero-copy,
.ledger-stage {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker {
  margin: 0 0 1.25rem;
  color: var(--teal-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--mint);
}

.eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0.3rem rgba(185, 247, 149, 0.12);
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--paper-strong);
  font-size: clamp(4.6rem, 8vw, 8rem);
  font-weight: 780;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.hero h1 em {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero-summary {
  max-width: 650px;
  margin: 2rem 0 0;
  color: #c3d0cc;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions,
.boundary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--mint);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--mint-bright);
}

.button-secondary {
  border-color: rgba(244, 240, 229, 0.25);
  background: rgba(244, 240, 229, 0.035);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--teal);
  background: rgba(65, 208, 173, 0.08);
}

.proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.6rem;
  margin: 2.4rem 0 0;
  padding: 0;
  color: #9fb1ab;
  font-size: 0.77rem;
  font-weight: 700;
  list-style: none;
}

.proof-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proof-icon {
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
}

.ledger-stage {
  display: grid;
  place-items: center;
  min-height: 570px;
}

.ledger-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: rgba(65, 208, 173, 0.15);
  filter: blur(80px);
}

.ledger-window {
  position: relative;
  width: min(100%, 520px);
  padding: 1rem;
  border: 1px solid rgba(244, 240, 229, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(16, 34, 31, 0.84);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.ledger-window::before,
.ledger-window::after {
  position: absolute;
  z-index: -1;
  inset: 0.8rem -0.7rem -0.7rem 0.8rem;
  border: 1px solid rgba(255, 128, 107, 0.15);
  border-radius: inherit;
  content: "";
}

.ledger-window::after {
  inset: 1.55rem -1.35rem -1.35rem 1.55rem;
  border-color: rgba(185, 247, 149, 0.09);
}

.ledger-header,
.ledger-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ledger-header {
  padding: 0.45rem 0.4rem 1.1rem;
}

.ledger-header > div {
  display: grid;
  gap: 0.1rem;
}

.window-label,
.ledger-footer span,
.event-card small {
  color: var(--muted-light);
  font-size: 0.66rem;
}

.window-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ledger-header strong {
  color: var(--paper-strong);
  font-size: 0.88rem;
}

.record-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mint);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.record-status > span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--mint);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.event-list {
  position: relative;
  display: grid;
  gap: 0.68rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-list::before {
  position: absolute;
  top: 2.2rem;
  bottom: 2.2rem;
  left: 2.1rem;
  width: 1px;
  background: linear-gradient(var(--teal), var(--coral));
  content: "";
  opacity: 0.5;
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 84px;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(244, 240, 229, 0.09);
  border-radius: 1rem;
  background: rgba(244, 240, 229, 0.04);
  transition: border-color 180ms ease, transform 180ms ease;
}

.event-card:hover {
  border-color: rgba(185, 247, 149, 0.35);
  transform: translateX(-4px);
}

.event-seq {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(244, 240, 229, 0.18);
  border-radius: 50%;
  background: var(--ink-soft);
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 800;
}

.event-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.event-copy strong {
  overflow: hidden;
  color: var(--paper-strong);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-kind {
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-delivery .event-kind,
.event-delivery .event-seq {
  color: var(--sun);
}

.event-audit .event-kind,
.event-audit .event-seq {
  color: #9ea5ff;
}

.event-verdict .event-kind,
.event-verdict .event-seq {
  color: var(--mint);
}

.event-check {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: rgba(185, 247, 149, 0.1);
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 900;
}

.ledger-footer {
  padding: 1rem 0.45rem 0.35rem;
}

.ledger-footer code {
  color: var(--paper);
  font-size: 0.7rem;
}

.ledger-footer .chain-state {
  color: var(--mint);
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185, 247, 149, 0.45); }
  50% { box-shadow: 0 0 0 0.45rem rgba(185, 247, 149, 0); }
}

.signal-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 4vw, 3.8rem);
  min-height: 86px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line-dark);
  background: var(--mint);
  color: var(--ink);
}

.signal-strip p {
  margin: 0;
  font-size: clamp(0.75rem, 1.25vw, 0.9rem);
  font-weight: 850;
  letter-spacing: -0.01em;
  text-align: center;
}

.signal-strip span {
  color: rgba(7, 19, 17, 0.4);
}

.section {
  padding: clamp(5.5rem, 10vw, 9rem) max(1.25rem, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.62fr);
  gap: 0 4rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading .kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.proof-heading h2,
.audience-heading h2,
.launch-boundary h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading > p:last-child,
.proof-heading > p:last-child,
.audience-heading > p:last-child {
  margin: 0;
  color: var(--muted-dark);
  font-size: 1rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.problem-card {
  min-height: 310px;
  padding: 2rem;
  border-right: 1px solid var(--line-dark);
}

.problem-card:last-child {
  border-right: 0;
}

.card-number,
.workflow-index {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.card-number {
  color: var(--coral-dark);
}

.workflow-index {
  color: var(--coral);
}

.problem-card h3,
.capability-grid h3 {
  margin: 4.5rem 0 0.7rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.problem-card p,
.capability-grid p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.rooms-section {
  border-top: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 88% 15%, rgba(65, 208, 173, 0.12), transparent 25%),
    var(--paper-strong);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.room-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 2rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(244, 240, 229, 0.62);
}

.room-private {
  border-color: rgba(65, 208, 173, 0.7);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 55px rgba(7, 19, 17, 0.12);
}

.room-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.room-symbol {
  color: var(--teal-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.room-symbol-mixed {
  color: var(--coral-dark);
}

.room-private .room-symbol {
  color: var(--teal);
}

.availability {
  padding: 0.32rem 0.55rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.availability-live {
  border-color: rgba(185, 247, 149, 0.35);
  color: var(--mint);
}

.room-card h3 {
  margin: 4rem 0 0.75rem;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.room-card p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.88rem;
}

.room-private p {
  color: var(--muted-light);
}

.room-card small {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
}

.room-private small {
  color: var(--teal);
}

.room-note {
  max-width: 850px;
  margin: 2rem 0 0;
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.room-note a {
  margin-left: 0.25rem;
  border-bottom: 1px solid var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.room-note a span {
  color: var(--teal-dark);
}

.workflow-section,
.learn-section {
  position: relative;
  background: var(--ink);
  color: var(--paper);
}

.workflow-section::before,
.learn-section::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(185, 247, 149, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  opacity: 0.25;
  pointer-events: none;
}

.workflow-section > *,
.learn-section > * {
  position: relative;
}

.workflow-section .kicker,
.learn-section .kicker {
  color: var(--teal);
}

.section-heading-light > p:last-child {
  color: var(--muted-light);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  list-style: none;
}

.workflow-grid li {
  position: relative;
  min-height: 320px;
  padding: 1.7rem;
  border-right: 1px solid var(--line-light);
}

.workflow-grid li:last-child {
  border-right: 0;
}

.workflow-grid li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -0.8rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  content: "→";
  font-size: 0.7rem;
}

.workflow-symbol {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  margin-top: 2.2rem;
  border: 1px solid rgba(185, 247, 149, 0.28);
  border-radius: 50%;
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 1.7rem;
}

.workflow-grid h3 {
  margin: 1.8rem 0 0.55rem;
  color: var(--paper-strong);
  font-size: 1.3rem;
}

.workflow-grid p {
  min-height: 4.6rem;
  margin: 0;
  color: var(--muted-light);
  font-size: 0.86rem;
}

.workflow-grid code {
  display: inline-block;
  margin-top: 1rem;
  color: var(--teal);
  font-size: 0.65rem;
}

.workflow-note {
  max-width: 850px;
  margin: 2.2rem 0 0;
  color: var(--muted-light);
  font-size: 0.82rem;
}

.workflow-note span {
  margin-right: 0.45rem;
  color: var(--coral);
}

.audience-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: #dedbce;
}

.audience-panel {
  padding: clamp(2rem, 5vw, 4.4rem);
  border-radius: var(--radius-lg);
}

.agent-panel {
  background: var(--paper-strong);
}

.operator-panel {
  background: var(--mint);
}

.audience-heading h2 {
  font-size: clamp(2.35rem, 4vw, 4.2rem);
}

.audience-heading > p:last-child {
  margin-top: 1.35rem;
}

.code-window {
  margin: 2.5rem 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 50px rgba(7, 19, 17, 0.15);
}

.code-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--muted-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.code-window pre {
  margin: 0;
  padding: 1.35rem;
  overflow: auto;
  font-size: 0.75rem;
  line-height: 1.85;
}

.code-window code {
  color: var(--mint);
}

.code-comment {
  color: #82948e;
}

.compact-steps,
.operator-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-steps li,
.operator-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-dark);
}

.compact-steps li > span,
.operator-icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.13rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--coral-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 900;
}

.compact-steps p,
.operator-list p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.compact-steps code {
  font-size: 0.75em;
}

.operator-list {
  margin-top: 2.5rem;
}

.operator-list li {
  padding: 1.35rem 0;
}

.operator-icon {
  width: 2.4rem;
  height: 2.4rem;
  background: var(--ink);
  color: var(--mint);
}

.operator-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.operator-list p {
  color: rgba(7, 19, 17, 0.68);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--coral-dark);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.text-link span {
  color: var(--coral-dark);
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-dark {
  border-bottom-color: var(--ink);
}

.text-link-dark span {
  color: var(--ink);
}

.operator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.proof-heading h2 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.proof-heading > p:last-child {
  margin-top: 1.5rem;
}

.boundary-grid {
  display: grid;
  gap: 1rem;
}

.boundary-card {
  padding: 2rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.55);
}

.boundary-card.establishes {
  box-shadow: inset 4px 0 0 var(--teal-dark);
}

.boundary-card.not-establishes {
  box-shadow: inset 4px 0 0 var(--coral-dark);
}

.boundary-label {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 850;
}

.boundary-label span {
  color: var(--teal-dark);
}

.not-establishes .boundary-label span {
  color: var(--coral-dark);
}

.boundary-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  color: var(--muted-dark);
  font-size: 0.84rem;
  list-style: none;
}

.boundary-card li {
  position: relative;
  padding-left: 1rem;
}

.boundary-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.27rem;
  height: 0.27rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0.5;
}

.capability-section {
  border-top: 1px solid var(--line-dark);
  background: var(--paper-strong);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.capability-grid article {
  min-height: 250px;
  padding: 2rem;
  background: var(--paper-strong);
}

.capability-grid article > span {
  color: var(--teal-dark);
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.capability-grid h3 {
  margin-top: 3.6rem;
}

.learn-section {
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 128, 107, 0.08), transparent 26%),
    var(--ink);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.learn-grid > a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 1.7rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(244, 240, 229, 0.025);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.learn-grid > a:hover {
  border-color: rgba(185, 247, 149, 0.5);
  background: rgba(185, 247, 149, 0.05);
  transform: translateY(-4px);
}

.learn-type {
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.learn-grid strong {
  margin-top: 2.7rem;
  color: var(--paper-strong);
  font-size: 1.22rem;
}

.learn-grid p {
  margin: 0.55rem 2rem 0 0;
  color: var(--muted-light);
  font-size: 0.82rem;
}

.learn-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  color: var(--mint);
  font-size: 1.1rem;
}

.launch-boundary {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 1.5rem 5rem;
  padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - 1180px) / 2));
  background: var(--coral);
  color: var(--ink);
}

.launch-boundary :focus-visible {
  outline-color: var(--ink);
}

.launch-boundary .kicker {
  color: rgba(7, 19, 17, 0.7);
}

.launch-boundary h2 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
}

.launch-boundary blockquote {
  margin: 0;
  padding-left: 1.6rem;
  border-left: 2px solid rgba(7, 19, 17, 0.35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.boundary-actions {
  grid-column: 2;
  align-items: center;
  margin-top: 0.6rem;
}

.launch-boundary .button-primary {
  background: var(--ink);
  color: var(--paper);
}

.status-health {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 850;
  text-decoration: none;
}

.status-health > span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
}

.status-health small {
  color: rgba(7, 19, 17, 0.65);
  font-size: 0.66rem;
  font-weight: 650;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 3rem max(1.25rem, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--paper);
}

.site-footer > p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.76rem;
}

.site-footer nav {
  display: flex;
  gap: 1.2rem;
}

.footer-wire {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
}

.footer-wire code {
  color: var(--mint);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
  }

  .hero-copy {
    max-width: 760px;
  }

  .ledger-stage {
    min-height: 530px;
  }

  .ledger-window {
    width: min(90%, 620px);
  }

  .audience-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .proof-heading {
    max-width: 700px;
  }

  .launch-boundary {
    grid-template-columns: 1fr;
  }

  .boundary-actions {
    grid-column: 1;
  }
}

@media (max-width: 800px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .problem-grid,
  .workflow-grid,
  .room-grid,
  .capability-grid,
  .learn-grid {
    grid-template-columns: 1fr 1fr;
  }

  .problem-card:nth-child(2) {
    border-right: 0;
  }

  .problem-card:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-dark);
  }

  .workflow-grid li:nth-child(2),
  .workflow-grid li:last-child {
    border-right: 0;
  }

  .workflow-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .workflow-grid li:nth-child(2)::after {
    top: auto;
    right: 50%;
    bottom: -0.8rem;
    transform: translateX(50%) rotate(90deg);
  }

  .room-grid .room-card:last-child,
  .learn-grid > a:last-child {
    grid-column: 1 / -1;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .header-link {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding: 4.8rem 1rem 5rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.1rem);
  }

  .hero-summary {
    font-size: 0.98rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-points {
    display: grid;
  }

  .ledger-stage {
    min-height: 485px;
  }

  .ledger-window {
    width: 100%;
    padding: 0.65rem;
    transform: none;
  }

  .ledger-window::before,
  .ledger-window::after,
  .ledger-glow {
    display: none;
  }

  .event-card {
    grid-template-columns: 2.2rem 1fr auto;
    min-height: 78px;
    padding: 0.7rem;
  }

  .event-seq {
    width: 2.2rem;
    height: 2.2rem;
  }

  .event-copy strong {
    max-width: 185px;
  }

  .ledger-footer .chain-state {
    display: none;
  }

  .signal-strip {
    display: grid;
    gap: 0.25rem;
    padding: 1.2rem 1rem;
  }

  .signal-strip span {
    display: none;
  }

  .section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .section-heading h2,
  .proof-heading h2,
  .audience-heading h2,
  .launch-boundary h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .problem-grid,
  .workflow-grid,
  .room-grid,
  .capability-grid,
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .room-grid .room-card:last-child,
  .learn-grid > a:last-child {
    grid-column: auto;
  }

  .problem-card {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .problem-card:nth-child(2),
  .problem-card:last-child {
    grid-column: auto;
    border-top: 0;
  }

  .problem-card:last-child {
    border-bottom: 0;
  }

  .workflow-grid li {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .workflow-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .workflow-grid li:last-child {
    border-bottom: 0;
  }

  .workflow-grid li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -0.8rem;
    transform: translateX(50%) rotate(90deg);
  }

  .audience-section {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .audience-panel {
    padding: 2rem 1.25rem;
    border-radius: 1.3rem;
  }

  .code-titlebar span:last-child {
    display: none;
  }

  .code-window pre {
    font-size: 0.67rem;
  }

  .capability-grid article {
    min-height: 220px;
  }

  .launch-boundary {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .launch-boundary blockquote {
    padding-left: 1rem;
    font-size: 1rem;
  }

  .boundary-actions .button {
    width: 100%;
  }

  .site-footer {
    padding: 2.5rem 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .signal-strip,
  .boundary-actions,
  .site-footer {
    display: none;
  }

  .hero,
  .workflow-section,
  .learn-section {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .hero h1 em,
  .section-heading-light h2,
  .workflow-grid h3,
  .learn-grid strong {
    color: black;
  }

  .ledger-stage {
    display: none;
  }

  a {
    text-decoration: underline;
  }
}
