:root {
  --ink: #f6fbff;
  --muted: #9fb0bc;
  --soft: #cbd6df;
  --bg: #05080a;
  --panel: #0b1115;
  --panel-2: #101820;
  --line: rgba(182, 218, 235, 0.16);
  --blue: #35a8e8;
  --cyan: #48d6de;
  --green: #9ff3bf;
  --amber: #eeb96d;
  --red: #f08b7f;
  --paper: #f4f0e8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 12% 16%, rgba(53, 168, 232, 0.18), transparent 27rem),
    linear-gradient(135deg, #05080a 0%, #081114 45%, #0b1115 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 3px;
  mix-blend-mode: overlay;
  opacity: 0.25;
  z-index: 5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(53, 168, 232, 0.35);
  border-radius: 50%;
  background: #fff;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green);
}

main {
  width: 100%;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  min-height: clamp(620px, calc(100vh - 72px), 820px);
  align-items: start;
  overflow: hidden;
  padding: clamp(2.25rem, 4.5vw, 4.25rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 5vw, 5rem);
}

.hero::after {
  content: "NQOBAX";
  position: absolute;
  right: -2vw;
  bottom: -1.5rem;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Azeret Mono", monospace;
  font-size: clamp(5rem, 16vw, 18rem);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.primitive-label,
.paper-label {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: "Azeret Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9.8ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.35rem, 5.35vw, 6rem);
  font-weight: 800;
  line-height: 0.94;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4.4vw, 4.9rem);
  font-weight: 800;
  line-height: 0.96;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.hero-text {
  max-width: 720px;
  color: var(--soft);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.65;
}

.hero-actions,
.commerce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

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

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(72, 214, 222, 0.55);
}

.hero-system {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
}

.substrate-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
  width: 100%;
  min-height: 500px;
  max-height: 620px;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(53, 168, 232, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 34%, rgba(53, 168, 232, 0.26), transparent 16rem),
    rgba(4, 7, 9, 0.86);
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.substrate-panel::before,
.substrate-panel::after {
  content: "";
  position: absolute;
  inset: 7rem 4rem;
  z-index: -1;
  border: 1px solid rgba(72, 214, 222, 0.22);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.substrate-panel::after {
  border-color: rgba(159, 243, 191, 0.16);
  transform: rotate(8deg) scale(0.78);
}

.panel-topline,
.flow-row,
.primitive-row {
  display: grid;
  gap: 0.75rem;
}

.panel-topline {
  grid-template-columns: 1fr auto;
  color: var(--muted);
  font-family: "Azeret Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-topline span:last-child {
  color: var(--green);
}

.substrate-core {
  display: flex;
  min-height: 10.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  border: 1px solid rgba(53, 168, 232, 0.36);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(53, 168, 232, 0.24), rgba(255, 255, 255, 0.035));
}

.substrate-core img {
  width: clamp(4rem, 8vw, 6rem);
  height: clamp(4rem, 8vw, 6rem);
  object-fit: cover;
  border-radius: 50%;
  background: #eef6fb;
}

.substrate-core span,
.primitive-row span {
  display: block;
  color: var(--blue);
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.substrate-core strong {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.flow-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-row span,
.primitive-row div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 4.7rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.flow-row span {
  color: var(--muted);
  font-family: "Azeret Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-row-output span {
  color: var(--green);
}

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

.primitive-row div {
  min-height: 8.4rem;
}

.primitive-row strong {
  display: block;
  margin-top: 1.35rem;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.15;
}

.statement-band,
.architecture,
.primitives,
.foundation,
.commerce,
.whitepaper {
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.statement-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: clamp(540px, 70vh, 760px);
  overflow: hidden;
  background: var(--paper);
  color: #071014;
}

.statement-band::after {
  content: "COMMITMENTS";
  position: absolute;
  right: clamp(-9rem, -5vw, -3rem);
  bottom: -1.5rem;
  color: rgba(7, 16, 20, 0.045);
  font-family: "Azeret Mono", monospace;
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.statement-inner {
  max-width: 1120px;
}

.statement-inner h2 {
  max-width: 13ch;
}

.statement-inner p:last-child {
  max-width: 880px;
  color: #233139;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.7;
}

.statement-band .section-kicker {
  color: #1a789f;
}

.statement-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(7, 16, 20, 0.16);
  background: rgba(7, 16, 20, 0.16);
}

.statement-stack div {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.46);
}

.statement-stack span {
  display: block;
  margin-bottom: 1.2rem;
  color: #1a789f;
  font-family: "Azeret Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.statement-stack strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.statement-stack p {
  margin: 0;
  color: #34434a;
  line-height: 1.55;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.52fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: end;
  max-width: 1240px;
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 13ch;
}

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

.section-copy {
  max-width: 520px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.architecture {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(560px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #070b0e;
  background-size: 72px 72px;
}

.architecture .section-heading {
  display: block;
  max-width: 620px;
  margin-bottom: 0;
}

.architecture .section-copy {
  margin-top: 1.3rem;
}

.architecture .section-heading h2,
.primitives .section-heading h2,
.foundation .section-heading h2 {
  max-width: 10.8ch;
}

.architecture-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.architecture-map::before,
.architecture-map::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px solid rgba(72, 214, 222, 0.22);
  border-radius: 40%;
  transform: rotate(-7deg);
}

.architecture-map::after {
  border-color: rgba(159, 243, 191, 0.18);
  transform: rotate(8deg) scale(0.86);
}

.map-core,
.map-node {
  position: relative;
  z-index: 1;
  min-height: 10.5rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 17, 20, 0.86);
  box-shadow: var(--shadow);
}

.map-core {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(53, 168, 232, 0.44);
  background: linear-gradient(180deg, rgba(53, 168, 232, 0.2), rgba(8, 17, 21, 0.92));
  text-align: center;
}

.map-core span,
.map-node span {
  color: var(--blue);
  font-family: "Azeret Mono", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-core strong,
.map-node strong {
  display: block;
  margin-top: 0.7rem;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.primitive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.primitive {
  min-height: 29rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  background: var(--panel);
}

.primitive h3 {
  min-height: 5.8rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 1.65vw, 1.8rem);
}

.primitive p:not(.primitive-label) {
  color: var(--soft);
  line-height: 1.75;
}

.primitive ul {
  display: grid;
  gap: 0.72rem;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.primitive li {
  padding-top: 0.72rem;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.primitive-iq {
  border-top: 4px solid var(--green);
}

.primitive-ar {
  border-top: 4px solid var(--cyan);
}

.primitive-sync {
  border-top: 4px solid var(--amber);
}

.primitive-fabric {
  border-top: 4px solid var(--red);
}

.alive-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: clamp(520px, 58vh, 680px);
  overflow: hidden;
  padding: clamp(4rem, 6.5vw, 6.2rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 16, 20, 0.05) 1px, transparent 1px),
    #d7f4f0;
  background-size: 56px 56px;
  color: #071014;
}

.alive-band::after {
  content: "ALIVE";
  position: absolute;
  right: clamp(-4rem, -2vw, -1rem);
  bottom: -1.15rem;
  color: rgba(7, 16, 20, 0.055);
  font-family: "Azeret Mono", monospace;
  font-size: clamp(5rem, 15vw, 15rem);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.alive-band > * {
  position: relative;
  z-index: 1;
}

.alive-band h2 {
  max-width: 13.5ch;
}

.alive-band p:last-child {
  color: #18313b;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.75;
}

.alive-band .section-kicker {
  color: #166b74;
}

.foundation {
  background: var(--panel-2);
}

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

.foundation-grid div {
  min-height: 15.5rem;
  padding: 2rem;
  background: #0a1014;
}

.foundation-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--blue);
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
}

.foundation-grid p {
  color: var(--soft);
  line-height: 1.7;
}

.commerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  border-top: 1px solid var(--line);
}

.commerce-copy {
  max-width: 980px;
}

.commerce-copy h2 {
  max-width: 13ch;
}

.commerce-copy p {
  max-width: 780px;
  color: var(--soft);
  font-size: 1.2rem;
  line-height: 1.7;
}

.commerce-actions {
  justify-content: flex-end;
}

.whitepaper {
  margin: 0 clamp(1rem, 5vw, 5rem) clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(53, 168, 232, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(53, 168, 232, 0.2), transparent 55%),
    #071014;
}

.whitepaper h2 {
  max-width: 12ch;
}

.whitepaper p {
  max-width: 680px;
  color: var(--soft);
  font-size: 1.25rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand span {
  color: var(--ink);
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-brand p {
  margin: 0.4rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green);
}

.paper-main {
  overflow: visible;
}

.paper-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  min-height: clamp(620px, 78vh, 820px);
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 78% 34%, rgba(53, 168, 232, 0.2), transparent 26rem);
  background-size: 56px 56px, 56px 56px, auto;
}

.paper-hero::after {
  content: "WHITE PAPER";
  position: absolute;
  right: clamp(-7rem, -3vw, -2rem);
  bottom: -1.2rem;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Azeret Mono", monospace;
  font-size: clamp(4rem, 12vw, 13rem);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.paper-hero-copy,
.paper-hero-panel {
  position: relative;
  z-index: 1;
}

.paper-hero h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(4rem, 8vw, 8.5rem);
}

.paper-subtitle {
  max-width: 780px;
  margin-bottom: 1.4rem;
  color: var(--green);
  font-family: "Azeret Mono", monospace;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-hero-text {
  max-width: 780px;
  color: var(--soft);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.65;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.paper-hero-panel {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(53, 168, 232, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(53, 168, 232, 0.22), rgba(255, 255, 255, 0.035)),
    rgba(6, 11, 14, 0.88);
  box-shadow: var(--shadow);
}

.paper-hero-panel span,
.paper-sidebar-label {
  color: var(--blue);
  font-family: "Azeret Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.paper-hero-panel strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.08;
}

.paper-signals {
  display: grid;
  gap: 1px;
  margin-top: 0.5rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.paper-signals small {
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
  background: #d7f4f0;
  color: #071014;
}

.paper-brief h2 {
  max-width: 12ch;
  margin: 0;
}

.paper-brief p:last-child {
  margin: 0;
  color: #18313b;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.75;
}

.paper-brief .section-kicker {
  color: #166b74;
}

.paper-brief a,
.paper-prose a {
  color: #0d6f95;
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.paper-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 920px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  justify-content: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
  background: var(--paper);
  color: #071014;
}

.paper-sidebar {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid rgba(7, 16, 20, 0.15);
  background: rgba(255, 255, 255, 0.46);
}

.paper-toc {
  display: grid;
  gap: 0.2rem;
}

.paper-toc a,
.paper-side-links a {
  display: block;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(7, 16, 20, 0.12);
  color: #26343b;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.paper-toc a:hover,
.paper-side-links a:hover {
  color: #0d6f95;
}

.paper-side-links {
  display: grid;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 2px solid rgba(13, 111, 149, 0.28);
}

.paper-prose {
  max-width: 920px;
}

.paper-prose #the-missing-substrate > h1,
.paper-prose #why-consequential-ai-systems-need-a-live-reasoning-layer {
  display: none;
}

.paper-prose section {
  scroll-margin-top: 6rem;
}

.paper-prose .level2 {
  padding-top: clamp(2.25rem, 5vw, 4rem);
}

.paper-prose .level2:first-of-type {
  padding-top: 0;
}

.paper-prose h2 {
  max-width: 13ch;
  margin: 0 0 1.35rem;
  color: #071014;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.paper-prose h3 {
  margin: 2.4rem 0 0.9rem;
  color: #0b2b38;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.14;
}

.paper-prose p,
.paper-prose li {
  color: #26343b;
  font-size: clamp(1.03rem, 1.18vw, 1.14rem);
  line-height: 1.82;
}

.paper-prose p {
  margin-bottom: 1.15rem;
}

.paper-prose ul,
.paper-prose ol {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 1.7rem;
  padding-left: 1.25rem;
}

.paper-prose strong {
  color: #071014;
}

.paper-prose hr {
  height: 1px;
  margin: clamp(2.4rem, 5vw, 4rem) 0 0;
  border: 0;
  background: rgba(7, 16, 20, 0.16);
}

.paper-prose blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid #1a789f;
  background: rgba(13, 111, 149, 0.08);
}

.paper-prose #executive-summary {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(13, 111, 149, 0.24);
  background: rgba(255, 255, 255, 0.56);
}

.paper-prose #executive-summary h2 {
  max-width: none;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.paper-prose #part-6--five-failure-stories .level3 {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(7, 16, 20, 0.14);
}

.paper-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #070b0e;
  background-size: 72px 72px;
}

.paper-cta h2 {
  max-width: 12ch;
}

.paper-cta p {
  max-width: 760px;
  color: var(--soft);
  font-size: 1.2rem;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: clamp(1.75rem, 5vw, 3rem);
  }

  .hero-system {
    min-height: auto;
  }

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

  .primitive h3 {
    min-height: auto;
  }

  .statement-band {
    grid-template-columns: 1fr;
  }

  .architecture,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .paper-hero,
  .paper-brief,
  .paper-shell,
  .paper-cta {
    grid-template-columns: 1fr;
  }

  .paper-sidebar {
    position: static;
  }

  .architecture .section-heading {
    max-width: 760px;
  }

  .section-heading .section-kicker {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  h1 {
    max-width: 11ch;
  }

  .architecture-map,
  .primitive-grid,
  .alive-band,
  .foundation-grid,
  .commerce,
  .primitive-row,
  .flow-row {
    grid-template-columns: 1fr;
  }

  .map-core {
    grid-column: auto;
    grid-row: auto;
    min-height: 14rem;
  }

  .commerce-actions {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .paper-hero h1 {
    max-width: 11ch;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    padding: 0.72rem 1rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 1.45rem;
    padding: 1.35rem 1rem 2.5rem;
  }

  .eyebrow,
  .section-kicker,
  .primitive-label,
  .paper-label {
    margin-bottom: 0.75rem;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  h1 {
    max-width: 10.5ch;
    margin-bottom: 1rem;
    font-size: clamp(2.55rem, 13.5vw, 3.7rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-text {
    font-size: 1.03rem;
    line-height: 1.55;
  }

  .hero-actions,
  .commerce-actions {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.2rem;
  }

  .button {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.72rem 0.9rem;
  }

  .hero-system {
    min-height: auto;
    margin: 0;
  }

  .substrate-panel {
    min-height: auto;
    max-height: none;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 12px;
  }

  .substrate-panel::before,
  .substrate-panel::after {
    inset: 4rem 1rem;
    opacity: 0.6;
  }

  .panel-topline {
    gap: 0.5rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .substrate-core {
    min-height: auto;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .substrate-core img {
    width: 3.1rem;
    height: 3.1rem;
  }

  .substrate-core strong {
    font-size: 1.55rem;
  }

  .flow-row {
    display: none;
  }

  .primitive-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .primitive-row div {
    min-height: 6.1rem;
    padding: 0.78rem;
  }

  .primitive-row span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .primitive-row strong {
    margin-top: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .statement-band,
  .architecture,
  .primitives,
  .foundation,
  .commerce,
  .whitepaper {
    padding: 3rem 1rem;
  }

  .statement-band {
    min-height: auto;
    gap: 1.5rem;
    align-items: start;
  }

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

  .paper-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .paper-sidebar {
    padding: 1rem;
  }
}
