:root {
  color-scheme: dark;
  --ink: #eff7ff;
  --ink-strong: #ffffff;
  --muted: #a8bac9;
  --muted-strong: #c6d3de;
  --night: #071017;
  --night-2: #0a151e;
  --panel: #0d1b25;
  --panel-2: #11232e;
  --line: #253a47;
  --line-bright: #365363;
  --cyan: #6ce5ed;
  --cyan-deep: #0bb5c4;
  --lime: #83e6a5;
  --red: #ff8b91;
  --amber: #ffca75;
  --blue: #83b8ff;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 24px 70px rgb(0 0 0 / 28%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: var(--cyan);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink-strong);
}

a:focus-visible,
button:focus-visible,
audio:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

code,
pre,
.eyebrow,
.kicker,
.status,
.integrity-badge,
.matrix-cell,
.metric-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

code {
  overflow-wrap: anywhere;
}

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

h1,
h2,
h3 {
  color: var(--ink-strong);
  line-height: 1.08;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 9vw, 7rem);
  letter-spacing: -0.075em;
}

h1 span {
  color: transparent;
  background: linear-gradient(105deg, var(--cyan), #a6f4d0 58%, var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.045em;
}

h3 {
  letter-spacing: -0.02em;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink-strong);
  color: var(--night);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 77% 20%, rgb(36 195 205 / 17%), transparent 31%),
    radial-gradient(circle at 20% 30%, rgb(64 124 196 / 10%), transparent 35%),
    linear-gradient(145deg, #071017 30%, #0b1923 100%);
}

.site-header::after {
  position: absolute;
  right: -16vw;
  bottom: -33vw;
  width: 65vw;
  height: 65vw;
  border: 1px solid rgb(108 229 237 / 15%);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgb(108 229 237 / 3%), 0 0 0 14vw rgb(108 229 237 / 2%);
  content: "";
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--ink-strong);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
  align-items: center;
  height: 22px;
}

.brand-mark span {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: var(--cyan);
}

.brand-mark span:nth-child(1) {
  height: 10px;
}

.brand-mark span:nth-child(2) {
  height: 22px;
}

.brand-mark span:nth-child(3) {
  height: 15px;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 4vw, 38px);
}

.nav-links a {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

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

.nav-links .nav-cta {
  padding: 6px 10px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  color: var(--cyan);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, 0.65fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: end;
  padding-block: clamp(76px, 10vw, 130px) 110px;
}

.eyebrow,
.kicker {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
}

.signal {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgb(131 230 165 / 10%);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #041317;
}

.button.primary:hover {
  background: #9df4f4;
  color: #041317;
}

.button.secondary {
  background: rgb(255 255 255 / 3%);
  color: var(--ink);
}

.hero-proof {
  padding: 24px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgb(17 35 46 / 96%), rgb(8 20 28 / 96%));
  box-shadow: var(--shadow);
}

.proof-card-head {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.proof-card-head .kicker {
  margin: 6px 0 0;
}

.integrity-badge {
  padding: 6px 8px;
  border: 1px solid rgb(131 230 165 / 35%);
  border-radius: 7px;
  background: rgb(131 230 165 / 8%);
  color: var(--lime);
  font-size: 0.63rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-score {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 14px;
}

.hero-score strong {
  color: var(--ink-strong);
  font-size: 2.7rem;
  line-height: 1;
}

.hero-score span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-score i {
  height: 1px;
  background: var(--line);
}

.hero-proof > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.compact-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.compact-facts div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.compact-facts dt,
.compact-facts dd {
  font-size: 0.75rem;
}

.compact-facts dt {
  color: var(--muted);
}

.compact-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.control-strip {
  border-bottom: 1px solid var(--line);
  background: #09131b;
}

.control-layout {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 56px;
  padding-block: 48px;
}

.control-layout h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.control-layout .kicker {
  margin-bottom: 8px;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 34px;
  margin: 0;
}

.control-grid dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-grid dd {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.control-grid code {
  color: var(--cyan);
  font-size: 0.78rem;
}

.section {
  padding-block: 104px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .kicker {
  margin-bottom: 12px;
}

.section-heading > p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.94rem;
}

.matrix-frame {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

caption {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

th,
td {
  padding: 19px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

thead th {
  background: #101f29;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

thead th span {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

tbody th {
  color: var(--ink-strong);
  font-size: 0.88rem;
}

.matrix-cell {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: none;
}

.matrix-cell::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
}

.matrix-cell.match::before {
  background: var(--lime);
  box-shadow: 0 0 0 5px rgb(131 230 165 / 9%);
}

.matrix-cell.mismatch::before {
  background: var(--red);
  box-shadow: 0 0 0 5px rgb(255 139 145 / 9%);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 18px 2px 52px;
  color: var(--muted);
  font-size: 0.75rem;
}

.legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.match-dot {
  background: var(--lime);
}

.mismatch-dot {
  background: var(--red);
}

.run-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.run-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  background: linear-gradient(155deg, rgb(16 32 42 / 98%), rgb(10 22 30 / 98%));
}

.run-card:target {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgb(108 229 237 / 8%);
}

.run-card-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.run-card .model {
  margin-bottom: 5px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.run-card h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.status {
  display: inline-flex;
  min-width: 51px;
  padding: 5px 8px;
  border: 1px solid;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.status.match {
  border-color: rgb(131 230 165 / 38%);
  background: rgb(131 230 165 / 9%);
  color: var(--lime);
}

.status.mismatch {
  border-color: rgb(255 139 145 / 38%);
  background: rgb(255 139 145 / 9%);
  color: var(--red);
}

.check-note {
  min-height: 42px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.check-note strong {
  color: var(--ink);
}

audio {
  width: 100%;
  height: 38px;
  margin: 0 0 18px;
  accent-color: var(--cyan-deep);
}

.transcript-block {
  margin-bottom: 18px;
}

.transcript-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.transcript {
  margin-bottom: 0;
  color: #dce7ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  line-height: 1.58;
  white-space: pre-wrap;
}

.run-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: auto 0 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.run-meta div {
  min-width: 0;
}

.run-meta dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.run-meta dd {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 750;
}

.boundary-section {
  padding-block: 104px;
  border-block: 1px solid #dbe6eb;
  background: #edf4f6;
  color: #18303c;
}

.light-heading h2 {
  color: #0a202a;
}

.light-heading > p {
  color: #526c79;
}

.light-heading code {
  color: #0b6a74;
}

.boundary-section .kicker {
  color: #08737d;
}

.boundary-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: stretch;
}

.boundary-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid #c2d1d8;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgb(19 54 68 / 10%);
}

.boundary-card.featured {
  border-color: #69aeb5;
  box-shadow: 0 18px 50px rgb(11 115 125 / 14%);
}

.boundary-card .run-card-head {
  margin-bottom: 20px;
}

.boundary-card h3 {
  margin-bottom: 0;
  color: #0a202a;
  font-size: 1.35rem;
}

.boundary-card .model,
.boundary-card .transcript-label {
  color: #52717e;
}

.boundary-card .transcript {
  color: #213f4d;
}

.boundary-card .run-meta {
  border-color: #dbe5e9;
}

.boundary-card .run-meta dt {
  color: #607984;
}

.boundary-card .run-meta dd {
  color: #173744;
}

.boundary-card .artifact-links a {
  color: #08737d;
}

.boundary-card .status.match {
  border-color: #67a77b;
  background: #e8f7ed;
  color: #176332;
}

.flow-arrow {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}

.flow-arrow::before {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #8ba6b1;
  content: "";
}

.flow-arrow::after {
  position: absolute;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 1px solid #6f8d99;
  border-right: 1px solid #6f8d99;
  content: "";
  transform: rotate(45deg);
}

.flow-arrow span {
  z-index: 1;
  padding: 4px 6px;
  background: #edf4f6;
  color: #607984;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.boundary-warning {
  display: flex;
  gap: 13px;
  max-width: 880px;
  margin: 30px auto 0;
  color: #4b626e;
  font-size: 0.82rem;
}

.boundary-warning > span {
  display: grid;
  width: 23px;
  height: 23px;
  border: 1px solid #d09530;
  border-radius: 50%;
  flex: 0 0 auto;
  place-items: center;
  color: #966111;
  font-weight: 900;
}

.boundary-warning p {
  margin: 1px 0 0;
}

.claims-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.claim {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.claim:last-child {
  border-right: 0;
}

.claim-number {
  margin-bottom: 32px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.claim h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.claim.positive h3 {
  color: var(--lime);
}

.claim.caution h3 {
  color: var(--red);
}

.claim.neutral h3 {
  color: var(--blue);
}

.claim ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
  font-size: 0.86rem;
}

.claim li + li {
  margin-top: 10px;
}

.claim > p:not(.claim-number) {
  color: var(--muted-strong);
  font-size: 0.86rem;
}

pre {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #071017;
  color: var(--cyan);
  font-size: 0.72rem;
}

.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 750;
}

.use-section {
  padding-block: 0 92px;
}

.use-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line-bright);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 12% 12%, rgb(108 229 237 / 11%), transparent 34%),
    linear-gradient(145deg, #10232e, #0a1720);
  box-shadow: var(--shadow);
}

.use-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.use-copy > p:not(.kicker) {
  color: var(--muted);
  font-size: 0.9rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.project-links a {
  padding: 7px 10px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 750;
  text-decoration: none;
}

.project-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.install-grid {
  display: grid;
  gap: 14px;
}

.install-grid > div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(4 13 19 / 58%);
}

.install-grid p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.install-grid pre {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
}

.method {
  padding-block: 34px 100px;
  text-align: center;
}

.method h2 {
  max-width: 730px;
  margin: 0 auto 20px;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.method > p:not(.kicker, .load-state, .load-error) {
  max-width: 750px;
  margin-inline: auto;
  color: var(--muted);
}

.load-state,
.load-error {
  display: inline-block;
  margin: 14px auto 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.load-state.ready {
  border-color: rgb(131 230 165 / 30%);
  color: var(--lime);
}

.load-state.render-error,
.load-error {
  border-color: rgb(255 139 145 / 35%);
  color: var(--red);
}

.footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  background: #050b10;
}

.footer-layout {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-layout p {
  margin-bottom: 0;
}

.footer-brand {
  margin-bottom: 7px !important;
  color: var(--ink-strong) !important;
}

/* Standard landing */

.standard-header {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 24%, rgb(31 194 205 / 18%), transparent 32%),
    radial-gradient(circle at 22% 44%, rgb(83 120 215 / 10%), transparent 37%),
    linear-gradient(145deg, #061018 25%, #0b1a23 100%);
}

.standard-header::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(108 229 237 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(108 229 237 / 4%) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(120deg, transparent 8%, black 65%, transparent 96%);
}

.standard-header .nav {
  z-index: 3;
}

.standard-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
  gap: clamp(50px, 8vw, 104px);
  align-items: center;
  padding-block: clamp(88px, 11vw, 148px) 112px;
}

.standard-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
}

.draft-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  margin: 36px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  list-style: none;
}

.draft-facts li {
  display: inline-flex;
  gap: 7px;
}

.draft-facts strong {
  color: var(--cyan);
  font-weight: 800;
}

.contract-window {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: rgb(6 16 23 / 88%);
  box-shadow: var(--shadow);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
}

.window-bar > span:last-child {
  justify-self: end;
  color: var(--cyan);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-bright);
}

.window-dots i:nth-child(2) {
  background: #347e87;
}

.window-dots i:nth-child(3) {
  background: var(--cyan);
}

.contract-window pre {
  overflow-x: auto;
  padding: 28px;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
  color: #dcecf2;
  font-size: 0.76rem;
  line-height: 1.7;
}

.contract-window > p {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
}

.contract-window > p span {
  color: var(--lime);
}

.standard-heading h2 {
  max-width: 760px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.purpose-card {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid var(--line);
}

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

.purpose-card > span {
  display: block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.purpose-card h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

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

.authority-section {
  padding-block: 104px;
  border-block: 1px solid #dbe6eb;
  background: #edf4f6;
  color: #18303c;
}

.authority-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #c1d0d6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 60px rgb(20 60 75 / 10%);
}

.authority-column {
  padding: clamp(28px, 5vw, 50px);
}

.authority-label {
  margin-bottom: 28px;
  color: #54707b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authority-column ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.authority-column li {
  position: relative;
  padding-left: 23px;
  color: #24434f;
  font-weight: 650;
}

.authority-column li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
}

.may-control li::before {
  background: #19a9b5;
}

.never-control li::before {
  background: #d16d73;
}

.authority-divider {
  display: grid;
  position: relative;
  place-items: center;
}

.authority-divider::before {
  position: absolute;
  width: 1px;
  height: 100%;
  background: #d1dce0;
  content: "";
}

.authority-divider span {
  z-index: 1;
  padding: 6px 8px;
  background: #fff;
  color: #81949c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-90deg);
}

.precedence-line {
  max-width: 990px;
  margin: 26px auto 0;
  color: #526a75;
  font-size: 0.8rem;
  text-align: center;
}

.precedence-line strong {
  color: #173743;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.level-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(155deg, #10212b, #0a161f);
}

.level-card > span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 44px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  place-items: center;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 900;
}

.level-card h3 {
  margin-bottom: 11px;
  font-size: 1.35rem;
}

.level-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.level-card.highlighted {
  border-color: #438e98;
  background: linear-gradient(155deg, #14323b, #0a1a22);
  box-shadow: 0 20px 50px rgb(17 171 183 / 9%);
}

.mechanics-section {
  padding-block: 104px;
  border-block: 1px solid var(--line);
  background: #09141c;
}

.mechanics-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.source-stack {
  display: grid;
  justify-items: stretch;
}

.source-stack > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 13px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.source-stack > div > span {
  grid-row: 1 / 3;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
}

.source-stack code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.73rem;
}

.source-stack small {
  color: var(--muted);
  font-size: 0.68rem;
}

.source-stack > i {
  width: 1px;
  height: 20px;
  margin-left: 34px;
  background: var(--line-bright);
}

.source-stack .selected-source {
  border-color: #3e909a;
  background: #102c35;
}

.mechanic-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mechanic-cards article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c1a23;
}

.mechanic-cards p {
  margin-bottom: 26px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mechanic-cards h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.mechanic-cards h3 code {
  color: var(--ink-strong);
}

.mechanic-cards article > span {
  color: var(--muted);
  font-size: 0.8rem;
}

.quick-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.quick-copy h2 {
  margin-bottom: 24px;
}

.quick-copy > p:not(.kicker, .release-note) {
  color: var(--muted);
}

.release-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: #040b10;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  justify-content: space-between;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
}

.terminal-bar span:first-child {
  color: #35606b;
  letter-spacing: 0.28em;
}

.terminal-card pre {
  padding: 26px;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.7;
}

.terminal-card pre span {
  color: var(--cyan);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 7px;
  margin-top: 54px;
}

.command-grid code {
  padding: 9px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1821;
  color: var(--muted-strong);
  font-size: 0.64rem;
  text-align: center;
}

.ecosystem-section {
  padding-block: 104px;
  border-block: 1px solid #dbe6eb;
  background: #edf4f6;
  color: #18303c;
}

.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
}

.ecosystem-copy h2 {
  margin-bottom: 23px;
  color: #0a202a;
}

.ecosystem-copy .kicker {
  color: #08737d;
}

.ecosystem-copy > p:not(.kicker) {
  color: #526c79;
}

.ecosystem-groups {
  display: grid;
  gap: 32px;
}

.ecosystem-groups h3 {
  margin-bottom: 13px;
  color: #16333f;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-cloud span {
  padding: 8px 11px;
  border: 1px solid #9fc5c9;
  border-radius: 8px;
  background: #fff;
  color: #175965;
  font-size: 0.75rem;
  font-weight: 750;
}

.muted-chips span {
  border-color: #c3d2d8;
  color: #435f6b;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.example-card {
  display: flex;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  background: linear-gradient(155deg, #10212b, #0a161f);
}

.incident-example {
  border-top-color: var(--red);
}

.support-example {
  border-top-color: var(--lime);
}

.executive-example {
  border-top-color: var(--blue);
}

.example-head {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.example-head p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-head h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.example-head > span {
  padding: 5px 7px;
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  white-space: nowrap;
}

.example-card blockquote {
  margin: 0 0 24px;
  color: #dce7ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.58;
}

.example-trait {
  margin: auto 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.63rem;
}

.proof-teaser {
  padding-block: 92px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 50%, rgb(108 229 237 / 13%), transparent 27%),
    #09141c;
}

.proof-teaser-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  gap: 70px;
  align-items: center;
}

.proof-teaser h2 {
  max-width: 720px;
  margin-bottom: 20px;
}

.proof-teaser p:not(.kicker) {
  max-width: 680px;
  margin-bottom: 27px;
  color: var(--muted);
}

.proof-teaser-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: rgb(8 20 28 / 82%);
}

.proof-teaser-stats div {
  padding: 24px 15px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.proof-teaser-stats div:last-child {
  border-right: 0;
}

.proof-teaser-stats dt {
  color: var(--ink-strong);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.proof-teaser-stats dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.65rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-proof {
    max-width: 560px;
  }

  .standard-hero,
  .quick-layout,
  .ecosystem-layout,
  .proof-teaser-layout {
    grid-template-columns: 1fr;
  }

  .contract-window {
    max-width: 620px;
  }

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

  .mechanics-layout {
    grid-template-columns: 1fr;
  }

  .source-stack {
    max-width: 620px;
  }

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

  .control-layout,
  .section-heading,
  .use-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

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

@media (max-width: 760px) {
  .site-header {
    min-height: 0;
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.76rem;
  }

  .hero {
    padding-block: 72px 78px;
  }

  .standard-header {
    min-height: 0;
  }

  .standard-hero {
    padding-block: 76px 80px;
  }

  .standard-nav > a:not(.nav-cta) {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .control-layout {
    gap: 30px;
  }

  .control-grid,
  .run-grid,
  .claims-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .boundary-section,
  .authority-section,
  .mechanics-section,
  .ecosystem-section {
    padding-block: 76px;
  }

  .purpose-grid,
  .level-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .authority-panel {
    grid-template-columns: 1fr;
  }

  .authority-divider {
    min-height: 62px;
  }

  .authority-divider::before {
    width: 100%;
    height: 1px;
  }

  .authority-divider span {
    transform: none;
  }

  .mechanic-cards {
    grid-template-columns: 1fr;
  }

  .proof-teaser-stats {
    grid-template-columns: 1fr;
  }

  .proof-teaser-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-teaser-stats div:last-child {
    border-bottom: 0;
  }

  .claim,
  .claim:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .claim:last-child {
    border-top: 0;
    border-bottom: 0;
    grid-column: auto;
  }

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

  .flow-arrow {
    min-height: 62px;
  }

  .flow-arrow::before {
    width: 1px;
    height: 100%;
  }

  .flow-arrow::after {
    right: auto;
    bottom: 0;
    transform: rotate(135deg);
  }

  .footer-layout {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(calc(100% - 26px), var(--max));
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

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

  .standard-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .draft-facts {
    align-items: start;
    flex-direction: column;
  }

  .contract-window pre,
  .terminal-card pre {
    padding: 20px;
    font-size: 0.68rem;
  }

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

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

  .integrity-badge {
    align-self: start;
  }

  .run-card,
  .boundary-card,
  .claim {
    padding: 20px;
  }
}

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