:root {
  color-scheme: light;
  --ink: #090909;
  --paper: #fff;
  --muted: #4b4b4b;
  --hairline: #d4d4d4;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, ol, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
section[id] { scroll-margin-top: 28px; }

.shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 12px; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header, .footer-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-header { border-bottom: 1px solid var(--hairline); }
.brand { display: inline-block; flex: none; padding-block: 9px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
nav a, .back-top { text-decoration: none; }
nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-example, .back-top { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.nav-example span, .primary span { font-size: 19px; line-height: 1; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-inner { position: relative; z-index: 1; display: grid; align-content: center; min-height: clamp(510px, 44vw, 650px); padding-block: clamp(44px, 6.1vw, 92px); }
.hero-copy { max-width: min(57%, 720px); }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 600 11px/1.45 var(--mono); letter-spacing: .12em; }
.eyebrow-mark { display: inline-block; flex: none; width: 8px; height: 8px; background: currentColor; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
h1, h2 { text-wrap: balance; }
h1 { margin-top: 18px; font-size: clamp(49px, 6.35vw, 96px); font-weight: 700; line-height: .92; letter-spacing: -.088em; }
.lede { max-width: 43ch; margin-top: 23px; color: #d1d1d1; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.48; letter-spacing: -.018em; }
.primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 52px; margin-top: 26px; padding: 0 16px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .18s, color .18s; }
.primary:hover { background: var(--ink); color: var(--paper); }
.primary:focus-visible { outline-color: var(--paper); }

.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 74% 50%, #222 0%, #101010 37%, var(--ink) 75%);
}
.hero-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #090909d9 0%, #090909ad 30%, #09090967 47%, transparent 70%); }
.field-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.field-center {
  position: absolute;
  top: 50%;
  left: 73.6%;
  display: grid;
  place-items: center;
  width: clamp(111px, 13vw, 180px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #101010 35%, #151515 44%, transparent 69%);
}
.field-center img { width: clamp(55px, 6.3vw, 80px); }
.field-filaments { animation: spread-field 3.6s cubic-bezier(.16,.72,.2,1) both; transform-origin: center; }
.field-lower { animation-delay: .22s; }
.field-orbits { animation: reveal-orbits 2.8s .2s ease-out both; transform-origin: 73.6% 50%; }
.field-glint { opacity: 0; stroke-width: 2; stroke-dasharray: 6 100; animation: sweep-field 3.6s .35s ease-in-out both; }
.field-glint-return { animation-direction: reverse; animation-delay: .85s; }
@keyframes spread-field { from { opacity: .16; transform: scale(1.05, .63) translateY(30px); } to { opacity: 1; transform: scale(1); } }
@keyframes reveal-orbits { from { opacity: .2; transform: scale(.82) rotate(-10deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes sweep-field { from { opacity: 0; stroke-dashoffset: 6; } 27%, 76% { opacity: .9; } to { opacity: 0; stroke-dashoffset: -100; } }

.principles { padding: clamp(40px, 6vw, 82px) 0 clamp(48px, 7vw, 98px); border-top: 1px solid var(--hairline); }
h2 { margin-top: 15px; font-size: clamp(40px, 5vw, 74px); font-weight: 700; line-height: .98; letter-spacing: -.073em; }
.principle-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(27px, 4vw, 55px); padding: 0; list-style: none; border-block: 1px solid var(--hairline); }
.principle-list li { padding: 24px clamp(17px, 3vw, 39px) 27px; border-right: 1px solid var(--hairline); }
.principle-list li:first-child { padding-left: 0; }
.principle-list li:last-child { border-right: 0; }
.index { color: var(--muted); font: 600 11px/1.2 var(--mono); letter-spacing: .12em; }
.principle-list h3 { margin-top: 11px; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.14; letter-spacing: -.04em; }
.principle-list p { max-width: 30ch; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.example, .site-footer { color: var(--paper); background: var(--ink); color-scheme: dark; }
.example { padding-block: clamp(45px, 7vw, 103px); }
.example-layout { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: start; gap: clamp(28px, 7vw, 113px); }
.example-copy > p:last-child { max-width: 39ch; margin-top: 20px; color: #c5c5c5; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.record { min-width: 0; padding: clamp(15px, 3vw, 33px); border: 1px solid #555; }
.record-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.record-header .eyebrow { color: #c5c5c5; }
.record-state { padding: 5px 8px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); font: 600 11px/1.2 var(--mono); }
.record[data-retracted] .record-state { background: transparent; color: var(--paper); border-color: #8a8a8a; }
.record h3 { margin-top: 23px; font-size: clamp(25px, 3vw, 42px); line-height: 1.04; letter-spacing: -.05em; }
.record[data-retracted] #record-title { color: #c5c5c5; text-decoration: line-through; text-decoration-thickness: .055em; }
.record-source { margin-top: 20px; border-block: 1px solid #555; }
.record-source summary { display: flex; align-items: center; gap: 7px 12px; flex-wrap: wrap; min-height: 45px; padding-block: 9px; cursor: pointer; font-size: 14px; font-weight: 600; }
.record-source summary::-webkit-details-marker { display: none; }
.record-source summary::before { content: ""; flex: none; width: 0; height: 0; border-block: 4px solid transparent; border-left: 6px solid currentColor; }
.record-source[open] summary::before { transform: rotate(90deg); }
.record-source summary:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.source-ref { margin-inline-start: auto; color: #bfbfbf; font-size: 12px; font-weight: 400; }
.source-document { padding: 12px 15px 14px; margin-bottom: 12px; border-left: 1px solid #8a8a8a; background: #181818; }
.source-document .eyebrow { color: #bfbfbf; font-size: 10px; }
.source-document blockquote { margin: 7px 0 0; font-size: 15px; line-height: 1.4; }

.record-agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.record button { font: inherit; cursor: pointer; }
.agent-read { min-width: 0; display: grid; align-content: start; gap: 4px; padding: 11px 12px; border: 1px solid #757575; background: transparent; color: var(--paper); text-align: left; }
.record button[aria-disabled="true"] { color: #bfbfbf; cursor: default; }
.agent-read:not([aria-disabled="true"]):hover { border-color: var(--paper); background: #1d1d1d; }
.agent-vendor, .agent-action { color: #bfbfbf; font-size: 11px; }
.agent-vendor { font-family: var(--mono); letter-spacing: .04em; }
.agent-name { font-size: 14px; line-height: 1.25; font-weight: 650; }
.agent-action { margin-top: 2px; }

.record-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 13px; }
.record-actions button { min-height: 42px; padding: 0 12px; font-size: 13px; font-weight: 650; }
.retract-fact { border: 1px solid var(--paper); background: var(--paper); color: var(--ink); }
.retract-fact:focus-visible { outline-color: var(--paper); }
.record .retract-fact[aria-disabled="true"] { border-color: #757575; background: transparent; }
.reset-record { border: 1px solid transparent; background: transparent; color: #bfbfbf; }
.reset-record:hover { text-decoration: underline; text-underline-offset: 4px; }
.record-feedback, .record-empty { color: #bfbfbf; font-size: 13px; line-height: 1.45; }
.record-feedback { margin-top: 9px; min-height: 2.9em; }
.record-history { margin-top: 13px; }
.record-history h4 { margin: 0; }
.record-empty { padding-block: 10px 0; }
.record-empty[hidden], .record-interaction[hidden] { display: none; }
.record-events { padding: 0; margin-top: 9px; list-style: none; counter-reset: audit-event; }
.record-events li { display: grid; grid-template-columns: minmax(24px, auto) minmax(87px, .38fr) minmax(0, 1fr); gap: 6px 8px; align-items: baseline; padding: 8px 0; border-top: 1px solid #424242; font-size: 13px; line-height: 1.4; counter-increment: audit-event; }
.record-events li::before { content: counter(audit-event, decimal-leading-zero); color: #bfbfbf; font: 500 10px/1.4 var(--mono); }
.record-events li > span { color: #bfbfbf; overflow-wrap: anywhere; }
.footer-inner { min-height: 77px; border-top: 1px solid #424242; }
.back-top { font-size: 13px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 72px); }
}
@media (max-width: 820px) {
  .example-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 45px clamp(175px, 27vw, 225px); min-height: 0; }
  .hero-copy { max-width: 670px; }
  h1 { font-size: clamp(48px, 9.25vw, 78px); }
  .hero-field { background: radial-gradient(ellipse at 50% 81%, #222 0%, var(--ink) 65%); }
  .hero-field::after { background: linear-gradient(180deg, #090909d9 15%, #0909099c 45%, transparent 71%); }
  .field-art { inset: auto 0 0 auto; width: max(100%, 720px); height: 46%; }
  .field-center { top: 77%; left: min(73.6%, calc(100% - 190px)); }
}
@media (max-width: 530px) {
  .shell { width: calc(100% - 36px); }
  .site-header, .footer-inner { min-height: 65px; }
  .site-header img { width: 111px; }
  nav { gap: 0; font-size: 13px; }
  nav a:first-child { display: none; }
  .hero-inner { padding-block: 38px 169px; }
  .field-art { right: calc(50% - 190px); height: 42%; }
  .field-center { top: 79%; left: 50%; }
  h1 { margin-top: 13px; font-size: clamp(39px, 11.7vw, 61px); }
  .lede { margin-top: 17px; }
  .primary { margin-top: 20px; }
  .principle-list { grid-template-columns: 1fr; }
  .principle-list li { display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 3px 4px; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .principle-list li:last-child { border-bottom: 0; }
  .index { padding-top: 4px; }
  .principle-list h3 { margin-top: 0; }
  .principle-list p { grid-column: 2; margin-top: 1px; }
  .record-header .eyebrow { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .field-filaments, .field-orbits, .field-glint { animation: none; }
  .primary { transition: none; }
}
