:root {
  color-scheme: light;
  --paper: #f6f6f3;
  --paper-soft: #ededeb;
  --paper-deep: #d9d9d5;
  --ink: #0d0d0c;
  --ink-muted: #5f5f5a;
  --ink-soft: #a8a8a1;
  --line: rgba(13, 13, 12, 0.14);
  --line-strong: rgba(13, 13, 12, 0.34);
  --core: #a12820;
  --core-dark: #35110e;
  --signal: #0d0d0c;
  --white: #ffffff;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 8px;
  --display:
    Georgia,
    "Iowan Old Style",
    "Times New Roman",
    serif;
  --serif: var(--display);
  --sans:
    "Helvetica Neue",
    Helvetica,
    Arial,
    ui-sans-serif,
    sans-serif;
  font-family: var(--display);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 12%, rgba(13, 13, 12, 0.07), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 54%, #ffffff 100%);
  font-family: var(--sans);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header__brand {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
  margin: 0 auto;
}

.nav-links a {
  color: var(--ink-muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  font-size: 0.95rem;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-muted);
}

.nav-action:hover {
  color: var(--ink);
}

.nav-action--external .nav-action__icon {
  font-size: 0.8em;
  display: inline-block;
  transform: translateY(-1px);
}

.nav-action--button {
  padding: 9px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.nav-action--button:hover {
  color: var(--paper);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  max-width: 100vw;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 60px var(--gutter) 76px;
  overflow: hidden;
}

#identity-graph {
  position: absolute;
  z-index: 1;
  top: 58px;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: clamp(620px, 78vh, 900px);
  cursor: pointer;
  opacity: 1;
  overflow: hidden;
  pointer-events: auto;
  touch-action: none;
  contain: paint;
  -webkit-mask-image: radial-gradient(ellipse 78% 74% at 72% 36%, #000 0%, #000 50%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 74% at 72% 36%, #000 0%, #000 50%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
}

#identity-graph::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(170px, 22vh, 260px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 62%, #ffffff 100%);
  pointer-events: none;
}

#identity-graph canvas {
  display: block;
  outline: none;
}

.identity-graph__scroll-pass {
  position: absolute;
  z-index: 2;
  top: clamp(380px, 52vh, 600px);
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: auto;
  background: transparent;
}

#identity-graph .scene-container {
  position: relative;
  z-index: 1;
  background: transparent !important;
  overflow: visible !important;
  transform: translate(9%, -7%);
  transform-origin: left top;
}

.graph-tooltip {
  width: min(350px, calc(100vw - 40px));
  padding: 16px 18px 18px;
  color: var(--paper);
  background: rgba(13, 13, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(13, 13, 12, 0.24);
  backdrop-filter: blur(14px);
  font-family: var(--sans);
  pointer-events: none;
}

.graph-tooltip span {
  display: block;
  margin-bottom: 6px;
  color: rgba(246, 246, 243, 0.58);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.graph-tooltip strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.graph-tooltip p {
  margin: 10px 0 0;
  color: rgba(246, 246, 243, 0.72);
  font-size: 0.92rem;
}

.float-tooltip-kap {
  z-index: 40 !important;
  padding: 0 !important;
  color: var(--paper) !important;
  background: transparent !important;
  border-radius: var(--radius) !important;
  font: inherit !important;
  pointer-events: none !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86) 48%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(246, 246, 243, 0.9));
  pointer-events: none;
}

.graph-readout {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  top: clamp(690px, 74vh, 880px);
  width: min(350px, calc(100vw - 40px));
  padding: 16px 18px 18px;
  color: var(--paper);
  background: rgba(13, 13, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(13, 13, 12, 0.24);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  visibility: hidden;
}

.graph-readout.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.graph-readout span {
  display: block;
  margin-bottom: 6px;
  color: rgba(246, 246, 243, 0.58);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.graph-readout strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.graph-readout p {
  margin: 10px 0 0;
  color: rgba(246, 246, 243, 0.72);
  font-size: 0.92rem;
}

.graph-readout small {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  color: rgba(246, 246, 243, 0.66);
  border-top: 1px solid rgba(246, 246, 243, 0.14);
  font-size: 0.78rem;
  line-height: 1.35;
}

.graph-hover-readout {
  z-index: 30;
  top: 0;
  right: auto;
  left: 0;
  transform: none;
}

.graph-hover-readout.is-visible {
  transform: none;
}

.graph-caption {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: clamp(72px, 9vh, 118px);
  width: min(360px, calc(100vw - 40px));
  margin: 0;
  padding: 12px 14px;
  color: rgba(13, 13, 12, 0.62);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(13, 13, 12, 0.1);
  border-radius: var(--radius);
  font-size: 0.82rem;
  line-height: 1.34;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  top: -58px;
  width: min(820px, 58vw);
  max-width: calc(100vw - (var(--gutter) * 2));
  min-width: 0;
  pointer-events: none;
}

.hero-signature {
  display: block;
  width: min(61vw, 620px);
  height: auto;
  margin: 0;
  opacity: 0.62;
  pointer-events: none;
  transform: rotate(12deg);
  transform-origin: 30% 52%;
  user-select: none;
}

.hero-actions,
.hero-actions * {
  pointer-events: auto;
}

h1,
h2,
h3 {
  max-width: 100%;
  margin: 0;
  font-family: var(--display);
  font-weight: 540;
  letter-spacing: 0;
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

h1 {
  max-width: 10.8em;
  color: rgba(13, 13, 12, 0.94);
  font-size: 3.75rem;
  font-weight: 520;
  line-height: 1.02;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.15rem, 5.4vw, 4.65rem);
  line-height: 1.04;
}

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

.hero-text {
  max-width: min(660px, 100%);
  margin: 28px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.16rem, 1.7vw, 1.52rem);
  line-height: 1.35;
}

.hero-context {
  max-width: 48rem;
  margin: 18px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.34;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

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

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

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.positioning-band {
  padding: clamp(42px, 6vw, 76px) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eeeeeb;
}

.use-case-grid h3 {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
}

.use-case-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.5;
}

.use-case-grid article {
  min-width: 0;
}

.use-case-exhibit {
  max-width: var(--max);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: clamp(28px, 3.5vw, 44px);
  background: #eeeeeb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.use-case-exhibit__caption {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.use-case-exhibit .worked-record {
  margin: 0;
}

.positioning-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.worked-record {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 3.4vw, 38px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.worked-record span,
.demo-query__copy span,
.demo-query__eyebrow {
  color: var(--core);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.worked-record h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.worked-record dl {
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.worked-record div {
  min-width: 0;
}

.worked-record dl div {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr);
  gap: 14px;
  background: #fff;
}

.worked-record dt,
.worked-record dd {
  margin: 0;
}

.worked-record dt {
  color: var(--ink);
  font-weight: 800;
}

.worked-record dd {
  color: var(--ink-muted);
}

.positioning-comparison {
  max-width: 850px;
  margin: 0 0 clamp(24px, 4vw, 42px);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.82rem);
  line-height: 1.28;
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
}

.positioning-grid article {
  min-height: 170px;
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.positioning-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.25vw, 2.25rem);
  line-height: 1.07;
}

.positioning-grid p {
  margin: 18px 0 0;
  color: var(--ink-muted);
}

.section {
  scroll-margin-top: 88px;
  padding: clamp(78px, 11vw, 150px) var(--gutter);
}

.demo-query-section,
.positioning-band {
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto clamp(34px, 6vw, 72px);
}

.section-heading.narrow {
  max-width: 880px;
  text-align: center;
}

.intro-grid,
.evidence-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(10px, 1.4vw, 16px);
}

.intro-grid {
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid h3,
.positioning-grid strong,
.demo-proof-tile h3,
.proof-demo__heading h2,
.proof-panel p,
.proof-panel li {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.intro-grid article,
.evidence-grid article {
  min-height: 210px;
  margin: 0;
  padding: clamp(22px, 2.7vw, 32px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.intro-grid article:last-child {
  grid-column: auto;
}

.intro-grid p,
.evidence-grid p {
  color: var(--ink-muted);
  font-size: 1rem;
}

.not-list {
  display: grid;
  gap: 18px;
}

.not-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(246, 246, 243, 0.18);
}

.not-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.not-list h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.not-list p {
  margin: 10px 0 0;
  color: rgba(246, 246, 243, 0.68);
}

.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.68fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}

.dark {
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 18%, rgba(161, 40, 32, 0.26), transparent 30rem),
    #10100f;
}

.dark .prose {
  color: rgba(246, 246, 243, 0.68);
}

.prose p {
  margin: 0 0 22px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  list-style: none;
}

.steps li {
  min-height: 330px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.steps span {
  color: var(--core);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
}

.steps h3 {
  font-size: clamp(1.25rem, 1.55vw, 1.62rem);
}

.steps p {
  color: var(--ink-muted);
}

.demo {
  background: #eeeeeb;
}

.demo-proof-intro {
  max-width: var(--max);
  margin: 0 auto clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.demo-proof-intro p {
  max-width: 860px;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}

.demo-proof-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.demo-proof-tile {
  min-height: 520px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.demo-proof-tile__block span {
  color: var(--core);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-proof-tile h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.demo-proof-tile__lede {
  margin: -6px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.28;
}

.demo-proof-tile__block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.demo-proof-tile__block p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.demo-proof-tile__signal {
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink);
  border-top: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  font-weight: 600;
  line-height: 1.28;
}

.demo-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.demo-flow {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.flow-node {
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.flow-node.active {
  color: var(--paper);
  border-color: var(--core);
  background: var(--core);
}

.flow-line {
  width: 1px;
  height: 36px;
  margin-left: 22px;
  background: var(--line-strong);
}

.demo-copy p {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--core-dark);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

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

.evidence-grid article {
  min-height: 190px;
}

.ecosystem-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  border-top: 1px solid var(--line);
}

.ecosystem-list article {
  min-height: auto;
  padding: clamp(20px, 2.8vw, 34px) 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.ecosystem-list h3 {
  font-size: clamp(1.45rem, 2.25vw, 2.25rem);
}

.ecosystem-list p {
  max-width: 48rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.35;
}

.final-cta {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 760px;
  color: var(--ink-muted);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.final-cta .cta-body {
  max-width: 860px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.2;
}

.final-cta .button {
  align-self: flex-start;
  margin-top: 18px;
}

.proof-page {
  background: var(--paper);
}

.proof-page .site-header {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
}

.proof-page .nav-links a {
  color: var(--ink-muted);
}

.proof-page .nav-links a:hover {
  color: var(--ink);
}

.proof-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.58fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(161, 40, 32, 0.34), transparent 32%),
    radial-gradient(circle at 78% 22%, rgba(246, 246, 243, 0.13), transparent 20rem),
    #10100f;
  border-bottom: 1px solid rgba(246, 246, 243, 0.16);
  overflow: hidden;
}

.proof-hero::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  bottom: -1px;
  left: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, var(--core), rgba(246, 246, 243, 0.42), transparent);
}

.proof-hero__copy,
.proof-hero__artifact {
  position: relative;
  z-index: 1;
}

.proof-hero h1 {
  max-width: 9em;
  color: var(--paper);
  font-size: clamp(3.4rem, 7.2vw, 7.8rem);
}

.proof-hero p {
  max-width: 820px;
  margin: 28px 0 0;
  color: rgba(246, 246, 243, 0.74);
  font-size: clamp(1.16rem, 1.8vw, 1.55rem);
}

.proof-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.proof-hero .button.secondary {
  color: var(--paper);
  border-color: rgba(246, 246, 243, 0.42);
  background: rgba(246, 246, 243, 0.08);
}

.proof-hero .button.primary {
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

.proof-hero__artifact {
  align-self: center;
  padding: clamp(22px, 3.4vw, 38px);
  background: rgba(246, 246, 243, 0.08);
  border: 1px solid rgba(246, 246, 243, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.proof-hero__artifact span {
  color: rgba(246, 246, 243, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-hero__artifact strong {
  display: block;
  margin-top: 18px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.05;
}

.proof-hero__artifact ol {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(246, 246, 243, 0.16);
}

.proof-hero__artifact li {
  padding: 16px 0;
  color: rgba(246, 246, 243, 0.74);
  border-bottom: 1px solid rgba(246, 246, 243, 0.12);
}

.proof-section {
  background: #eeeeeb;
  border-top: 1px solid var(--line);
}

.proof-contract-copy {
  max-width: var(--max);
  margin: -32px auto clamp(28px, 5vw, 54px);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.45vw, 2.1rem);
  line-height: 1.22;
}

.proof-grid,
.proof-artifact {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.proof-grid article,
.proof-artifact article {
  min-height: 270px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
}

.proof-grid span,
.proof-steps span {
  color: var(--core);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-grid p,
.proof-artifact p,
.proof-steps p {
  color: var(--ink-muted);
}

.proof-run {
  border-top: 1px solid rgba(246, 246, 243, 0.12);
  border-bottom: 1px solid rgba(246, 246, 243, 0.12);
}

.proof-steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: rgba(246, 246, 243, 0.14);
  border: 1px solid rgba(246, 246, 243, 0.14);
}

.proof-steps li {
  min-height: 340px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
}

.proof-steps h3,
.proof-steps p {
  color: var(--paper);
}

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

.proof-artifact article {
  min-height: 220px;
}

.howto-page {
  background: #fff;
}

.howto-page .section {
  background: #fff;
}

.howto-page .section-heading {
  margin-bottom: clamp(28px, 4.2vw, 52px);
}

.howto-page .section-heading.narrow {
  max-width: var(--max);
  text-align: left;
}

.howto-page .section-heading h2 {
  max-width: 12em;
  font-size: clamp(2.1rem, 4.7vw, 4.2rem);
}

.howto-head {
  padding: clamp(118px, 13vw, 168px) var(--gutter) clamp(56px, 7vw, 90px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.howto-head__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
}

.howto-head h1 {
  max-width: 9.2em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6.8vw, 6.2rem);
}

.howto-head p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

.howto-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.howto-head .button.secondary {
  background: transparent;
}

.howto-head__note {
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid var(--line);
}

.howto-head__note h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.howto-head__note p {
  margin-top: 14px;
  font-size: 1rem;
}

.howto-audience-switch {
  width: fit-content;
  margin-top: 30px;
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.howto-audience-switch__button {
  min-height: 44px;
  padding: 10px 18px;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.howto-audience-switch__button:hover,
.howto-audience-switch__button:focus-visible {
  color: var(--ink);
}

.howto-audience-switch__button:focus-visible {
  outline: 2px solid var(--core);
  outline-offset: 2px;
}

.howto-audience-switch__button.is-active {
  color: var(--paper);
  background: var(--ink);
}

.howto-audience-panel[hidden] {
  display: none;
}

.howto-guide-section {
  border-top: 1px solid var(--line);
}

.howto-section-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

.howto-setup-grid {
  max-width: var(--max);
  margin: 0 auto clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.howto-setup-grid article {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
}

.howto-setup-grid span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.howto-setup-grid h3,
.howto-result-block h3,
.howto-result-list h4,
.howto-agent-contract h3 {
  margin: 0;
}

.howto-setup-grid h3,
.howto-agent-contract h3 {
  font-size: clamp(1.3rem, 2vw, 1.82rem);
}

.howto-setup-grid p,
.howto-agent-contract p,
.howto-result-list p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.howto-step-copy {
  min-width: 0;
}

.howto-step-copy .howto-expected {
  margin-top: 16px;
  padding-top: 16px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

.howto-step-copy .howto-expected strong {
  color: var(--ink);
}

.howto-result-block {
  max-width: var(--max);
  margin: clamp(42px, 6vw, 70px) auto 0;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.howto-result-block > h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
}

.howto-result-list {
  max-width: var(--max);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.howto-result-list article {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px);
  background: #fff;
}

.howto-result-list h4 {
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  font-weight: 540;
}

.howto-agent-contract {
  max-width: var(--max);
  margin: 0 auto clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.howto-code-stack {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.howto-outline {
  margin: 0;
  padding: 0 0 0 clamp(20px, 3vw, 34px);
  list-style: none;
  border-left: 1px solid var(--line);
}

.howto-outline li {
  padding: 15px 0;
  color: var(--ink-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.howto-outline li:first-child {
  border-top: 1px solid var(--line);
}

.howto-model {
  padding-bottom: clamp(48px, 7vw, 86px);
}

.howto-model-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 42px);
  border-top: 1px solid var(--line);
}

.howto-model-grid article {
  min-width: 0;
}

.howto-model-grid h3,
.howto-response-list h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.9vw, 1.72rem);
}

.howto-model-grid p,
.howto-response-list p,
.howto-flow p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 1.03rem;
}

.howto-page .proof-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.howto-flow {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.howto-flow article {
  min-width: 0;
  min-height: auto;
  padding: clamp(26px, 4vw, 46px) 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 12px clamp(28px, 5vw, 64px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.howto-flow h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.howto-flow pre {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.howto-ui-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.howto-ui-card--dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.howto-ui-card span {
  color: var(--core);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.howto-ui-card--dark span {
  color: rgba(246, 246, 243, 0.64);
}

.howto-ui-card strong {
  display: block;
  margin-top: 16px;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.18;
}

.howto-ui-card p {
  margin: 14px 0 0;
}

.howto-page pre {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 2vw, 22px);
  overflow-x: auto;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(246, 246, 243, 0.14);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.55;
}

.howto-page code {
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
}

.howto-api-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.howto-proof-section {
  border-top: 1px solid var(--line);
}

.howto-proof {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.howto-proof > * {
  min-width: 0;
}

.howto-proof p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

.howto-proof .proof-footnote {
  max-width: 560px;
  margin-top: -6px;
  font-size: 0.92rem;
}

.howto-proof-checks {
  margin: 0;
  padding: 0 0 0 clamp(20px, 3vw, 34px);
  list-style: none;
  border-left: 1px solid var(--line);
}

.howto-proof-checks li {
  padding: 15px 0;
  color: var(--ink-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.howto-proof-checks li:first-child {
  border-top: 1px solid var(--line);
}

.howto-proof-report {
  grid-column: 1 / -1;
  min-width: 0;
}

.howto-proof-report[hidden] {
  display: none;
}

.howto-proof-report__card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.howto-proof-report__header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.howto-proof-report__header h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.howto-proof-report__status {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.howto-proof-report__status.is-failed {
  background: #8f2c24;
}

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

.howto-proof-report__summary div {
  min-width: 0;
  padding: 14px;
  background: var(--paper);
}

.howto-proof-report__summary dt,
.howto-proof-report__summary dd {
  margin: 0;
}

.howto-proof-report__summary dt {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.howto-proof-report__summary dd {
  margin-top: 7px;
  color: var(--ink);
  font-weight: 800;
}

.howto-proof-report__checks {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.howto-proof-report__checks li {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.howto-proof-report__check-label {
  color: var(--ink);
  font-weight: 800;
}

.howto-proof-report__check-meta {
  color: var(--ink-muted);
}

.howto-proof-report__checks li.is-failed .howto-proof-report__check-label {
  color: #8f2c24;
}

.howto-api {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.howto-api > * {
  min-width: 0;
}

.howto-api pre {
  margin: 0;
}

.howto-api-copy {
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid var(--line);
}

.howto-api-copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

.howto-response {
  background: #fff;
}

.howto-response-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  border-top: 1px solid var(--line);
}

.howto-response-list article {
  min-width: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 20px clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.proof-page-head {
  padding: clamp(98px, 12vw, 148px) var(--gutter) clamp(34px, 5vw, 62px);
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.proof-page-head__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.proof-page-head h1 {
  color: var(--ink);
  font-size: clamp(3rem, 6.5vw, 6.2rem);
}

.proof-page-head p {
  max-width: 780px;
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

.proof-cases-section {
  padding: clamp(42px, 6vw, 72px) var(--gutter) clamp(82px, 10vw, 140px);
  background: #fff;
}

.demo-query-section {
  padding: clamp(42px, 6vw, 76px) var(--gutter);
  background: #eeeeeb;
  border-bottom: 1px solid var(--line);
}

.demo-query {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.demo-query__copy h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.demo-query__copy p {
  max-width: 620px;
  color: var(--ink-muted);
}

.demo-query__ask {
  grid-column: 2;
  display: grid;
  gap: 18px;
}

.demo-query__options {
  display: grid;
  gap: 10px;
}

.demo-query__option {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink-muted);
  text-align: left;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.22;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.demo-query__option:hover,
.demo-query__option:focus-visible,
.demo-query__option.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.demo-query__result {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.demo-query__result.is-transitioning {
  animation: demo-answer-dissolve 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.demo-query__result.is-transitioning::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 0) 76%
  );
  pointer-events: none;
  transform: translateX(-110%);
  animation: demo-answer-sweep 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.demo-query__result h3 {
  margin-top: 10px;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.demo-query__answer {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.5vw, 1.36rem);
  line-height: 1.36;
}

.demo-query__evidence {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.demo-query__evidence li {
  padding-top: 12px;
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
}

.demo-query__evidence strong,
.demo-query__evidence small {
  color: var(--ink);
}

.demo-query__evidence span,
.demo-query__boundary {
  color: var(--ink-muted);
}

.demo-query__evidence small {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-query__boundary {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

@keyframes demo-answer-dissolve {
  0% {
    opacity: 0.34;
    filter: blur(7px);
    transform: translateY(10px);
  }

  54% {
    opacity: 0.78;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes demo-answer-sweep {
  0% {
    transform: translateX(-115%);
  }

  100% {
    transform: translateX(115%);
  }
}

.proof-cases {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(88px, 12vw, 150px);
}

.proof-demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  scroll-margin-top: 92px;
  overflow-wrap: break-word;
}

.proof-demo__heading {
  display: block;
  padding-top: clamp(18px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.proof-demo__heading h2 {
  max-width: none;
  font-size: clamp(2.45rem, 4vw, 4.4rem);
  line-height: 1;
  text-wrap: normal;
}

.proof-demo__lede {
  max-width: 44rem;
  margin: 16px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  line-height: 1.38;
}

.proof-demo__body,
.writing-proof {
  display: grid;
  gap: 22px;
}

.proof-brief,
.writing-proof__setup,
.writing-proof__comparison,
.proof-evidence-strip {
  display: grid;
  gap: 16px;
}

.proof-brief {
  grid-template-columns: 0.92fr 1.18fr 1fr;
}

.proof-brief--support {
  grid-template-columns: 1.12fr 0.88fr;
}

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

.proof-evidence-strip {
  grid-template-columns: 1.2fr 1fr 0.8fr;
}

.proof-panel,
.comparison-output,
.writing-proof__verdict {
  min-width: 0;
  padding: clamp(20px, 2.6vw, 30px);
  background: #fff;
  border: 1px solid rgba(13, 13, 12, 0.12);
  border-radius: var(--radius);
}

.demo-page .proof-panel,
.demo-page .comparison-output,
.demo-page .writing-proof__verdict {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.proof-panel h3,
.comparison-output h3,
.proof-output__row h3,
.proof-output__bullets h3,
.correction-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.08;
}

.proof-panel p,
.proof-panel li,
.comparison-output p,
.comparison-output small {
  color: var(--ink-muted);
  line-height: 1.46;
}

.proof-panel p,
.comparison-output p {
  margin: 12px 0 0;
}

.proof-panel ul,
.writing-proof__verdict ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.proof-panel li + li,
.writing-proof__verdict li + li {
  margin-top: 10px;
}

.proof-output {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-output__heading,
.proof-output__body {
  padding: clamp(24px, 3.6vw, 42px);
}

.proof-output__heading {
  background: #fff;
  border-right: 1px solid var(--line);
}

.proof-output__heading h3 {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 2.6rem);
}

.demo-page .proof-output,
.demo-page .correction-flow {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.demo-page .proof-output__heading,
.demo-page .correction-flow__heading {
  padding: clamp(22px, 3vw, 32px) 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.demo-page .proof-output__body,
.demo-page .correction-flow__items {
  padding: clamp(22px, 3vw, 32px) 0 0;
}

.proof-output__body p {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.55vw, 1.34rem);
  line-height: 1.36;
}

.proof-output__body p + p,
.proof-output__rows,
.proof-output__bullets {
  margin-top: 24px;
}

.proof-output__rows,
.proof-output__bullets {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.proof-output__row,
.proof-output__bullets li {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid rgba(161, 40, 32, 0.42);
  border-radius: var(--radius);
}

.demo-page .proof-output__row,
.demo-page .proof-output__bullets li {
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.proof-output__row p,
.proof-output__bullets p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.44;
}

.proof-output__bullets small,
.comparison-output small {
  display: block;
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.writing-proof__verdict,
.comparison-output--winner {
  background: #fff;
  border-left: 4px solid var(--core);
}

.demo-page .writing-proof__verdict,
.demo-page .comparison-output--winner {
  border-left: 0;
  border-top: 3px solid var(--core);
}

.writing-proof__verdict h3,
.writing-proof__verdict p,
.writing-proof__verdict li,
.comparison-output--winner h3,
.comparison-output--winner p,
.comparison-output--winner small {
  color: var(--ink);
}

.comparison-highlight {
  padding: 0 0.16em;
  color: inherit;
  border-radius: 3px;
}

.comparison-highlight--risk {
  background: rgba(161, 40, 32, 0.16);
  box-shadow: inset 0 -0.18em 0 rgba(161, 40, 32, 0.26);
}

.comparison-highlight--boundary {
  background: rgba(121, 146, 84, 0.18);
  box-shadow: inset 0 -0.18em 0 rgba(121, 146, 84, 0.28);
}

.writing-proof__verdict h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.writing-proof__verdict p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  line-height: 1.48;
}

.proof-demo--writing-proof .proof-output {
  margin-top: 6px;
}

.proof-demo--correction-proof .proof-output__row:first-child {
  border-left-color: #8a8a84;
}

.proof-demo--correction-proof .proof-output__row:nth-child(2),
.proof-demo--correction-proof .proof-output__row:nth-child(3) {
  border-left-color: var(--core);
}

.proof-demo--correction-proof .proof-output__row:nth-child(3) {
  background: #f4f6ef;
}

.proof-demo--writing-proof {
  grid-template-columns: 1fr;
}

.proof-demo--writing-proof .proof-demo__heading h2 {
  max-width: 10em;
}

.comparison-output {
  min-height: 310px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.operator-page {
  background: var(--paper);
}

.operator-page .site-header {
  background: var(--paper);
}

.operator-page:has([data-operator-app]:not([hidden])) .site-header {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-cta__link {
  padding: 0;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-family: var(--sans);
  transition: color 120ms ease;
}

.nav-cta__link:hover {
  color: var(--ink);
}

.nav-cta__button {
  padding: 9px 22px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-family: var(--sans);
  font-weight: 500;
  transition: background 120ms ease, color 120ms ease;
}

.nav-cta__button:hover {
  background: var(--core-dark);
  border-color: var(--core-dark);
}

.operator-page [hidden] {
  display: none !important;
}

.operator-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(112px, 12vw, 156px) var(--gutter) clamp(42px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: end;
}

.operator-login {
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
}

.operator-login__card {
  width: min(100%, 460px);
  min-width: 0;
  padding: 40px 44px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(13, 13, 12, 0.04);
}

.operator-login__brand {
  margin: 0 0 14px;
  text-align: center;
}

.operator-login__mark {
  display: inline-block;
  width: auto;
  height: 144px;
  vertical-align: middle;
}

.operator-login__intro {
  margin-bottom: 26px;
  text-align: center;
}

.operator-login__intro h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.15;
}

.operator-login__intro p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.operator-login-form {
  gap: 14px;
}

.operator-form .operator-field {
  position: relative;
  display: block;
  gap: 0;
  font-weight: 400;
  color: var(--ink);
  font-size: 1rem;
}

.operator-form .operator-field input {
  width: 100%;
  min-height: 56px;
  padding: 18px 16px 6px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 120ms ease;
}

.operator-form .operator-field input:focus {
  outline: none;
  border-color: var(--ink);
}

.operator-form .operator-field span {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  padding: 0 4px;
  color: var(--ink-muted);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  pointer-events: none;
  transition: transform 120ms ease, font-size 120ms ease, color 120ms ease;
}

.operator-form .operator-field input:focus ~ span,
.operator-form .operator-field input:not(:placeholder-shown) ~ span {
  transform: translateY(-160%);
  font-size: 0.74rem;
  color: var(--ink);
}

.operator-login-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
}

.operator-reset-password {
  width: fit-content;
  padding: 0;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
}

.operator-reset-password:hover {
  color: var(--ink);
}

.operator-signup {
  margin: 18px 0 22px;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  text-align: center;
}

.operator-signup button {
  margin-left: 6px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.operator-auth-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.operator-auth-divider span {
  height: 1px;
  background: var(--line);
}

.operator-auth-divider strong {
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.operator-social-auth {
  display: grid;
  gap: 12px;
}

.operator-social-google:not([hidden]) {
  min-height: 48px;
}

.operator-social-auth p {
  margin: 6px 0 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.operator-social-button {
  min-height: 52px;
  width: 100%;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  transition: border-color 120ms ease, background 120ms ease;
}

.operator-social-button:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.operator-social-icon {
  flex: 0 0 auto;
}

.operator-console {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 0;
  background: var(--paper);
}

.operator-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  padding: 20px 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.operator-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.operator-sidebar__brand strong {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 560;
  line-height: 1;
}

.operator-sidebar__brand span {
  padding: 3px 7px;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 760;
}

.operator-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.operator-sidebar__nav a {
  padding: 10px 12px;
  color: var(--ink-muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 720;
}

.operator-sidebar__nav a:hover,
.operator-sidebar__nav a:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.operator-sidebar__account {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.operator-sidebar__account span {
  color: var(--core);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.operator-sidebar__account strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.operator-sidebar__account p {
  margin: 4px 0 14px;
  color: var(--ink-muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.operator-workspace {
  min-width: 0;
  padding: 10px 10px 10px 0;
}

.operator-topbar {
  position: sticky;
  top: 10px;
  z-index: 5;
  min-height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.operator-topbar span,
.operator-topbar a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.operator-head--app {
  max-width: 1080px;
  min-height: auto;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px) clamp(24px, 5vw, 52px) clamp(42px, 5vw, 62px);
  grid-template-columns: 1fr;
  align-items: start;
  text-align: center;
}

.operator-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--core);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.operator-head h1 {
  max-width: 10em;
  margin: 0 auto;
  font-size: 4.2rem;
}

.operator-head p {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--ink-muted);
  font-size: 1.12rem;
}

.operator-head__note {
  max-width: 680px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.operator-status {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
}

.operator-status span {
  color: rgba(246, 246, 243, 0.62);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.operator-status strong {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.12;
}

.operator-status p {
  margin-top: 12px;
  color: rgba(246, 246, 243, 0.72);
  font-size: 0.98rem;
}

.operator-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 52px) clamp(62px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.operator-panel--wide {
  grid-column: 1 / -1;
}

.operator-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.operator-panel__head > div {
  min-width: 0;
}

.operator-panel__head span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 820;
}

.operator-panel h2,
.operator-panel h3 {
  margin: 0;
}

.operator-panel h2 {
  font-size: 1.8rem;
}

.operator-panel h3 {
  font-size: 1.16rem;
}

.operator-form {
  display: grid;
  gap: 14px;
}

.operator-invite-form {
  margin-top: 0;
}

.operator-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.operator-form input,
.operator-form select,
.operator-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.96rem;
  letter-spacing: 0;
}

.operator-form textarea {
  resize: vertical;
}

.operator-checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  color: var(--ink);
}

.operator-checkbox input {
  width: 18px;
  height: 18px;
}

.operator-button {
  min-height: 42px;
  width: fit-content;
  padding: 10px 15px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
}

.operator-button--secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.operator-login-submit.operator-button {
  width: 100%;
  min-height: 58px;
  border-radius: var(--radius);
}

.operator-button:hover,
.operator-button:focus-visible {
  transform: translateY(-1px);
}

.operator-note,
.operator-empty {
  margin: 16px 0 0;
  color: var(--ink-muted);
}

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

.operator-metrics article {
  min-width: 0;
  padding: 14px;
  background: #fff;
}

.operator-metrics span {
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 780;
}

.operator-metrics strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.operator-list {
  display: grid;
  gap: 10px;
}

.operator-list--jobs {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.operator-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.operator-row strong,
.operator-row span {
  display: block;
}

.operator-row span {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.operator-row p {
  margin: 0;
  color: var(--ink-muted);
  text-align: right;
}

.operator-two-col,
.operator-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.operator-output,
.operator-comparison pre {
  max-height: 440px;
  margin: 18px 0 0;
  padding: 16px;
  overflow: auto;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.operator-output--compact {
  min-height: 88px;
}

.operator-query-form,
.operator-writing-form,
.operator-correction-form {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.18fr) auto;
  align-items: end;
}

.operator-writing-form,
.operator-correction-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.operator-results {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.operator-result {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.operator-result__head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.operator-result__head span {
  color: var(--ink-muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.operator-result__head button {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--core);
  background: transparent;
  border: 1px solid rgba(161, 40, 32, 0.32);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
}

.operator-result h3 {
  margin-top: 12px;
}

.operator-result p,
.operator-result li {
  color: var(--ink-muted);
}

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

.operator-style-grid article {
  min-width: 0;
  padding: 16px;
  background: #fff;
}

.operator-style-grid > .operator-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  background: #fff;
}

.operator-style-grid ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.operator-style-grid li {
  margin: 8px 0;
  color: var(--ink-muted);
  overflow-wrap: anywhere;
}

.operator-comparison {
  margin-top: 18px;
}

.operator-comparison article {
  min-width: 0;
}

@media (min-width: 1041px) {
  .demo-page .writing-proof__comparison {
    border-top: 3px solid var(--core);
  }

  .demo-page .writing-proof__comparison .comparison-output,
  .demo-page .writing-proof__comparison .comparison-output--winner {
    border-top: 0;
  }
}

.correction-proof {
  display: grid;
  gap: 22px;
}

.correction-flow {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.correction-flow__heading {
  padding: clamp(24px, 3.6vw, 42px);
  background: #fff;
  border-right: 1px solid var(--line);
}

.correction-flow__heading h3 {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 2.6rem);
}

.correction-flow__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(24px, 3.6vw, 42px);
}

.correction-step {
  position: relative;
  min-height: 250px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #8a8a84;
  border-radius: var(--radius);
}

.demo-page .correction-step {
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.demo-page .correction-step:not(:last-child)::after {
  content: none;
}

.correction-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 1;
  color: var(--core);
  font-family: var(--serif);
  font-size: 1.8rem;
  transform: translateY(-50%);
}

.correction-step--2 {
  border-left-color: var(--core);
}

.correction-step--3 {
  background: #fff;
  border-left-color: var(--core);
}

.correction-step p {
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.44;
}

.site-footer {
  padding: 28px var(--gutter);
  color: var(--ink-muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.86rem;
}

@media (max-width: 1040px) {
  #identity-graph {
    top: 72px;
    right: 0;
    left: 0;
    width: 100%;
    height: clamp(560px, 70vh, 760px);
    opacity: 0.82;
  }

  #identity-graph .scene-container {
    transform: translate(7%, -5%);
  }

  .graph-readout {
    top: clamp(620px, 72vh, 800px);
  }

  .hero-copy {
    width: min(760px, 74vw);
  }

  h1 {
    max-width: 9.8em;
    font-size: 3.25rem;
  }

  .intro-grid,
  .steps,
  .positioning-grid,
  .demo-proof-grid,
  .proof-grid,
  .proof-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-layout,
  .demo-proof-intro,
  .worked-record,
  .demo-query,
  .proof-hero,
  .proof-demo,
  .proof-demo__heading,
  .proof-brief,
  .writing-proof__setup,
  .writing-proof__comparison,
  .proof-evidence-strip,
  .proof-output,
  .correction-flow,
  .correction-flow__items,
  .howto-proof,
  .howto-api,
  .howto-agent-contract,
  .operator-console,
  .operator-login,
  .operator-head,
  .operator-shell,
  .operator-two-col,
  .operator-style-grid,
  .operator-query-form,
  .operator-writing-form,
  .operator-correction-form,
  .split {
    grid-template-columns: 1fr;
  }

  .operator-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto;
  }

  .operator-sidebar__nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .operator-sidebar__nav a {
    flex: 0 0 auto;
  }

  .operator-workspace {
    padding: 0;
  }

  .operator-topbar {
    top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .demo-query__ask {
    grid-column: auto;
  }

  .howto-head__inner {
    grid-template-columns: 1fr;
  }

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

  .howto-api-copy {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .howto-head__note {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .howto-proof-checks {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

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

  .proof-demo__heading {
    position: static;
  }

  .proof-demo__heading h2 {
    max-width: 11.5em;
  }

  .correction-step {
    min-height: auto;
  }

  .correction-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -28px;
    transform: translateX(50%) rotate(90deg);
  }

  .proof-evidence-strip {
    grid-column: auto;
  }

  .demo-page .proof-output__heading,
  .demo-page .correction-flow__heading {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid article,
  .steps li,
  .positioning-grid article,
  .evidence-grid article,
  .demo-proof-tile,
  .proof-grid article,
  .proof-steps li,
  .proof-output__heading,
  .comparison-output {
    min-height: 180px;
  }
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid article {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: flex;
    justify-content: flex-start;
    padding: 14px var(--gutter);
    overflow-x: auto;
  }

  .site-header__brand {
    font-size: 1rem;
  }

  .nav-links {
    display: flex;
    min-width: max-content;
    gap: 20px;
    margin: 0;
    font-size: 0.9rem;
  }

  .nav-actions {
    margin-left: 12px;
    gap: 12px;
    font-size: 0.9rem;
  }

  .nav-action--button {
    padding: 8px 14px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 36px;
  }

  #identity-graph {
    top: 116px;
    right: auto;
    left: 0;
    width: 100vw;
    height: 38vh;
    opacity: 0.16;
    pointer-events: none;
  }

  .hero-copy {
    width: 100%;
    top: -14px;
  }

  .hero-signature {
    width: min(84vw, 336px);
    margin: 0 0 6px 0;
    opacity: 0.62;
    transform: rotate(12deg);
  }

  .graph-readout {
    display: none;
  }

  .graph-caption {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: 2.45rem;
  }

  .hero h1 {
    font-size: 2.34rem;
  }

  .proof-hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.2rem);
  }

  .hero-text {
    max-width: 31ch;
    font-size: 1.12rem;
  }

  .intro-grid,
  .steps,
  .evidence-grid,
  .positioning-grid,
  .worked-record,
  .worked-record dl div,
  .demo-query,
  .ecosystem-list,
  .demo-proof-grid,
  .proof-grid,
  .howto-flow,
  .proof-steps,
  .proof-artifact,
  .proof-demo,
  .proof-demo__heading,
  .proof-brief,
  .writing-proof__setup,
  .writing-proof__comparison,
  .proof-evidence-strip,
  .proof-output,
  .correction-flow,
  .correction-flow__items,
  .howto-head__inner,
  .howto-model-grid,
  .howto-api,
  .howto-agent-contract,
  .howto-setup-grid,
  .howto-result-list,
  .operator-console,
  .operator-login,
  .operator-head,
  .operator-shell,
  .operator-two-col,
  .operator-style-grid,
  .operator-query-form,
  .operator-writing-form,
  .operator-correction-form,
  .operator-comparison,
  .howto-proof-report__summary,
  .howto-proof-report__checks li {
    grid-template-columns: 1fr;
  }

  .operator-panel--wide {
    grid-column: auto;
  }

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

  .operator-row,
  .operator-result__head {
    grid-template-columns: 1fr;
  }

  .operator-row {
    display: block;
  }

  .operator-row p {
    margin-top: 8px;
    text-align: left;
  }

  .operator-result__head {
    display: grid;
  }

  .howto-flow article,
  .howto-response-list article {
    grid-template-columns: 1fr;
  }

  .howto-flow pre {
    grid-column: auto;
    grid-row: auto;
    margin-top: 8px;
  }

  .howto-ui-card {
    grid-column: auto;
    grid-row: auto;
    margin-top: 8px;
  }

  .intro-grid article:last-child {
    grid-column: auto;
  }

  .ecosystem-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .positioning-grid article,
  .demo-proof-tile,
  .proof-grid article,
  .proof-steps li,
  .proof-artifact article,
  .proof-output__heading,
  .comparison-output {
    min-height: 180px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .proof-hero {
    min-height: 86vh;
    padding-top: 88px;
  }

  .proof-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-hero__artifact {
    padding: 22px;
  }

  .proof-page-head {
    padding-top: 96px;
  }

  .howto-head {
    padding-top: 92px;
  }

  .howto-head__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .howto-audience-switch {
    width: 100%;
    display: flex;
  }

  .howto-audience-switch__button {
    flex: 1 1 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  .howto-outline {
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  h1 {
    font-size: 3.55rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.25rem;
  }
}

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

  .button:hover,
  .text-link:hover {
    transform: none;
  }

  .demo-query__result.is-transitioning,
  .demo-query__result.is-transitioning::after {
    animation: none;
  }
}

.docs-page {
  background: var(--paper);
}

.docs-page .site-header {
  position: sticky;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) 96px;
}

.docs-sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 8px;
  font-size: 0.92rem;
}

.docs-sidebar__check {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.docs-sidebar__toggle {
  display: none;
}

.docs-sidebar__nav ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.docs-sidebar__group {
  margin: 18px 0 8px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.docs-sidebar__group:first-child {
  margin-top: 0;
}

.docs-sidebar a {
  display: block;
  padding: 6px 10px;
  color: var(--ink-muted);
  border-radius: 6px;
  line-height: 1.35;
}

.docs-sidebar a:hover {
  color: var(--ink);
  background: rgba(13, 13, 12, 0.05);
}

.docs-sidebar a.is-active {
  color: var(--ink);
  background: rgba(13, 13, 12, 0.07);
  font-weight: 700;
}

.docs-main {
  min-width: 0;
}

.docs-article {
  max-width: 760px;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
}

.docs-article h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.4vw, 2.85rem);
  font-weight: 540;
  letter-spacing: 0;
  line-height: 1.06;
}

.docs-article h2 {
  margin: 44px 0 14px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 540;
  letter-spacing: 0;
  line-height: 1.1;
}

.docs-article h3 {
  margin: 30px 0 10px;
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.docs-article h4 {
  margin: 22px 0 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.docs-article p,
.docs-article ul,
.docs-article ol {
  margin: 0 0 14px;
}

.docs-article ul,
.docs-article ol {
  padding-left: 22px;
}

.docs-article li {
  margin-bottom: 4px;
}

.docs-article a {
  color: var(--core);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.docs-article a:hover {
  color: var(--core-dark);
}

.docs-article code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86em;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(13, 13, 12, 0.06);
  color: var(--ink);
}

.docs-article pre {
  margin: 14px 0 22px;
  padding: clamp(16px, 2vw, 22px);
  overflow-x: auto;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(246, 246, 243, 0.14);
  border-radius: var(--radius);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
}

.docs-article pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.docs-article blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--core);
  background: rgba(161, 40, 32, 0.06);
  color: var(--ink);
  font-style: normal;
}

.docs-article blockquote p:last-child {
  margin-bottom: 0;
}

.docs-article table {
  width: 100%;
  margin: 14px 0 22px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.docs-article th,
.docs-article td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.docs-article th {
  background: rgba(13, 13, 12, 0.04);
  font-weight: 700;
}

.docs-article hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.docs-article > *:first-child {
  margin-top: 0;
}

.docs-article :is(h2, h3, h4) {
  scroll-margin-top: 96px;
}

.docs-article .heading-anchor {
  display: inline-block;
  margin-right: 8px;
  color: var(--ink-soft);
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.12s ease-out;
}

.docs-article :is(h2, h3, h4):hover .heading-anchor,
.docs-article .heading-anchor:focus-visible {
  opacity: 1;
}

.docs-article pre {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(246, 246, 243, 0.22);
  border-radius: 6px;
  background: rgba(246, 246, 243, 0.08);
  color: rgba(246, 246, 243, 0.7);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.12s ease-out, color 0.12s ease-out, background 0.12s ease-out;
}

.docs-article pre:hover .copy-button,
.copy-button:focus-visible {
  opacity: 1;
}

.copy-button:hover {
  color: var(--paper);
  background: rgba(246, 246, 243, 0.18);
}

.docs-pager {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.docs-pager__link {
  display: inline-grid;
  gap: 4px;
  max-width: min(360px, 48%);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.docs-pager__placeholder {
  flex: 0 0 auto;
}

.docs-pager__link:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.docs-pager__next {
  text-align: right;
}

.docs-pager__label {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.docs-pager__title {
  color: var(--ink);
  font-weight: 700;
}

.docs-pager__placeholder {
  display: block;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .docs-sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
  }

  .docs-sidebar__toggle-icon {
    transition: transform 0.16s ease-out;
  }

  .docs-sidebar__check:checked ~ .docs-sidebar__toggle .docs-sidebar__toggle-icon {
    transform: rotate(180deg);
  }

  .docs-sidebar__nav {
    display: none;
    margin-top: 12px;
  }

  .docs-sidebar__check:checked ~ .docs-sidebar__nav {
    display: block;
  }

  .docs-sidebar__nav ul {
    margin-bottom: 14px;
  }

  .docs-pager {
    grid-template-columns: 1fr;
  }

  .docs-pager__next {
    text-align: left;
  }

  .copy-button {
    opacity: 1;
  }
}
