:root {
  --bg: #e9ebe5;
  --bg-soft: #dfe2d9;
  --surface: #f4f5ef;
  --surface-2: #eaede5;
  --line: #c3c8bf;
  --line-strong: #8f9890;
  --text: #171c19;
  --muted: #56615b;
  --dim: #727d76;
  --acid: #77a51b;
  --acid-2: #557c0d;
  --blue: #3676a2;
  --orange: #b5662b;
  --red: #b64d45;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 11%, rgba(119, 165, 27, 0.16), transparent 31rem),
    var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(30, 38, 33, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 38, 33, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0, transparent 58rem);
}

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

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 50;
  padding: 0.8rem 1rem;
  color: #10120e;
  background: var(--acid);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  height: 80px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.site-header .brand {
  font-size: 1.16rem;
  font-weight: 800;
}

.brand-name {
  position: relative;
  display: inline-block;
}

.brand-name::after {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 0.18em;
  vertical-align: -0.12em;
  background: var(--acid);
  content: "";
  animation: cursor-blink 1.3s steps(1, end) infinite;
}

.brand-underscore {
  color: var(--acid-2);
}

@keyframes cursor-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0.18; }
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-only-link {
  display: none;
}

.desktop-nav a,
.header-cta {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--acid);
}

.header-cta {
  justify-self: end;
}

.header-cta span {
  color: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr);
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  min-height: 710px;
  margin: 0 auto;
  gap: clamp(3rem, 7vw, 8rem);
  padding: 72px 0 82px;
}

.hero-copy {
  max-width: 650px;
  min-width: 0;
}

.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(199, 242, 85, 0.09);
}

.pulse-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--acid);
  border-radius: inherit;
  content: "";
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  from { opacity: 0.8; transform: scale(0.4); }
  to { opacity: 0; transform: scale(1.7); }
}

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

h1 {
  max-width: 720px;
  margin: 1.7rem 0 1.45rem;
  font-family: var(--display);
  font-size: clamp(3.6rem, 5vw, 5.3rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-line-accent {
  color: var(--acid-2);
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  gap: 1.5rem;
  color: #10120e;
  background: var(--acid);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d5ff67;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.01);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #737c77;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 590px;
  margin: 3.4rem 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding: 1.15rem 0;
  border-right: 1px solid var(--line);
}

.hero-facts div + div {
  padding-left: 1.2rem;
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt,
.hero-facts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.hero-facts dt {
  margin-bottom: 0.45rem;
  color: var(--dim);
  text-transform: uppercase;
}

.hero-facts dd {
  color: var(--text);
}

.system-panel {
  --line: #2b302f;
  --line-strong: #414846;
  --muted: #9aa19d;
  --dim: #69716d;
  --acid: #c7f255;
  --acid-2: #94b83a;
  --blue: #75b6ff;
  --orange: #ef9b54;
  color: #eef0e9;
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgba(18, 21, 21, 0.9);
  box-shadow: 0 28px 100px rgba(0,0,0,0.3);
}

.system-panel::before,
.system-panel::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
}

.system-panel::before { top: -1px; left: -1px; border-top: 1px solid var(--acid); border-left: 1px solid var(--acid); }
.system-panel::after { right: -1px; bottom: -1px; border-right: 1px solid var(--acid); border-bottom: 1px solid var(--acid); }

.panel-topbar,
.scope-line,
.panel-footer,
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.67rem;
}

.panel-topbar {
  min-height: 52px;
  padding: 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.status-light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(199, 242, 85, 0.7);
}

.mono {
  font-family: var(--mono);
}

.dim {
  color: var(--dim);
}

.scope-line {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}

.scope-line span {
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--line);
}

.scope-line span:last-child {
  border-right: 0;
}

.pipeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  padding: 1.8rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  color: var(--dim);
  background: transparent;
  cursor: pointer;
}

.pipeline-step > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.pipeline-step b,
.pipeline-step small {
  font-family: var(--mono);
}

.pipeline-step b {
  font-size: 0.63rem;
  letter-spacing: 0.05em;
}

.pipeline-step small {
  font-size: 0.58rem;
  white-space: nowrap;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.6rem;
}

.pipeline-step.is-complete,
.pipeline-step.is-current {
  color: #d8ddd7;
}

.pipeline-step.is-complete .step-icon {
  color: #10120e;
  border-color: var(--acid);
  background: var(--acid);
}

.pipeline-step.is-current .step-icon {
  color: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 0 5px rgba(199, 242, 85, 0.07);
}

.pipeline-link {
  position: relative;
  height: 1px;
  margin: 0 0.45rem 2rem;
  overflow: hidden;
  background: var(--line-strong);
}

.pipeline-link.is-active::after {
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: var(--acid);
  content: "";
  animation: flow 1.8s linear infinite;
}

@keyframes flow {
  to { left: 110%; }
}

.artifact-card {
  margin: 1.1rem;
  border: 1px solid var(--line);
  background: #121414;
}

.artifact-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.artifact-type,
.status-badge {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.artifact-type {
  color: var(--dim);
}

.artifact-heading h2 {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 550;
}

.status-badge {
  padding: 0.32rem 0.48rem;
  color: var(--acid);
  border: 1px solid rgba(199, 242, 85, 0.3);
  background: rgba(199, 242, 85, 0.06);
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.artifact-grid div {
  min-width: 0;
  padding: 0.8rem;
  border-right: 1px solid var(--line);
}

.artifact-grid div:last-child { border-right: 0; }

.artifact-grid span,
.artifact-grid b {
  display: block;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact-grid span { margin-bottom: 0.35rem; color: var(--dim); }
.artifact-grid b { color: #cdd1cd; font-weight: 500; }

.resource-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.resource-row:last-child { border-bottom: 0; }
.resource-row:hover { background: rgba(255,255,255,0.018); }

.change-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 0.75rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  border: 1px solid;
}

.change-mark.add { color: var(--acid); border-color: rgba(199,242,85,0.3); background: rgba(199,242,85,0.06); }
.change-mark.change { color: var(--orange); border-color: rgba(239,155,84,0.3); background: rgba(239,155,84,0.06); }
.change-mark.neutral { color: var(--blue); border-color: rgba(117,182,255,0.3); background: rgba(117,182,255,0.06); }

.resource-row span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.resource-row b { font-size: 0.72rem; font-weight: 540; }
.resource-row small { color: var(--dim); font-family: var(--mono); font-size: 0.57rem; }
.chevron, .lock-icon { color: var(--dim); transition: transform 180ms ease; }
.resource-row[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.resource-detail {
  padding: 0.75rem 1rem 0.95rem 3.2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}

.resource-detail code { color: var(--blue); font-family: var(--mono); font-size: 0.62rem; }
.resource-detail p { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }

.panel-footer {
  padding: 0 1.1rem 1.05rem;
  color: var(--dim);
}

.panel-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.panel-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  overflow: hidden;
  padding: 1.15rem 2rem;
  color: #c4cbc5;
  border-top: 1px solid #344139;
  border-bottom: 1px solid #344139;
  background: #26312b;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.trust-strip span:nth-child(even) { color: var(--acid); }

.section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 5rem;
  margin-bottom: 4rem;
}

.section-heading h2 {
  max-width: 760px;
  margin: 1.2rem 0 0;
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.why-section {
  padding-top: 108px;
  padding-bottom: 108px;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(3rem, 8vw, 8.5rem);
}

.why-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

.founder-card {
  position: relative;
  max-width: 290px;
  padding: 1.35rem;
  border: 1px solid var(--line-strong);
  background: rgba(244, 245, 239, 0.8);
}

.founder-card::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 26px;
  height: 1px;
  background: var(--acid);
  content: "";
}

.founder-signal {
  display: flex;
  align-items: end;
  height: 30px;
  margin-bottom: 2.2rem;
  gap: 5px;
}

.founder-signal span {
  display: block;
  width: 7px;
  background: var(--text);
}

.founder-signal span:nth-child(1) { height: 8px; }
.founder-signal span:nth-child(2) { height: 15px; }
.founder-signal span:nth-child(3) { height: 23px; }
.founder-signal span:nth-child(4) { height: 30px; background: var(--acid); }

.founder-label,
.founder-status,
.why-principles article > span {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.07em;
}

.founder-label {
  color: var(--text);
  font-weight: 700;
}

.founder-card p {
  margin: 0.8rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.founder-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--dim);
  text-transform: uppercase;
}

.founder-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.why-content h2 {
  margin: -0.1em 0 1.7rem;
  font-size: clamp(2.15rem, 3.4vw, 4.1rem);
  font-weight: 570;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.heading-line {
  display: block;
  white-space: nowrap;
}

.heading-accent {
  color: var(--acid-2);
}

.desktop-heading-line {
  white-space: nowrap;
}

.why-lede {
  max-width: 790px;
  margin-bottom: 4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.7;
}

.why-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
}

.why-principles article {
  min-height: 215px;
  padding: 1.45rem 2rem 1rem 0;
  border-right: 1px solid var(--line-strong);
}

.why-principles article + article {
  padding-right: 0;
  padding-left: 2rem;
  border-right: 0;
}

.why-principles article > span {
  color: var(--dim);
}

.why-principles h3 {
  margin: 3.1rem 0 0.8rem;
  font-size: 1.22rem;
  font-weight: 590;
  letter-spacing: -0.02em;
}

.why-principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.workflow-rail {
  border-right: 1px solid var(--line-strong);
}

.workflow-tab {
  display: grid;
  grid-template-columns: 54px 1fr;
  width: 100%;
  min-height: 78px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.workflow-tab:last-child { border-bottom: 0; }
.workflow-tab > span:first-child {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--dim);
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.workflow-tab > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 0 1.1rem;
}

.workflow-tab b { font-size: 0.85rem; font-weight: 540; }
.workflow-tab small { color: var(--dim); font-family: var(--mono); font-size: 0.62rem; }
.workflow-tab.is-active { background: rgba(199, 242, 85, 0.045); }
.workflow-tab.is-active > span:first-child { color: #10120e; background: var(--acid); }
.workflow-tab.is-active b { color: var(--acid); }

.terminal-card {
  --line: #2b302f;
  --line-strong: #414846;
  --muted: #9aa19d;
  --dim: #69716d;
  --acid: #c7f255;
  --blue: #75b6ff;
  color: #eef0e9;
  min-width: 0;
  background: #101212;
}

.terminal-bar {
  min-height: 48px;
  padding: 0 1.1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.terminal-bar > span:first-child { display: flex; gap: 6px; }
.terminal-bar i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #343a38; }
.terminal-bar i:last-child { background: var(--acid-2); }

.terminal-body {
  min-height: 390px;
  padding: clamp(1.4rem, 3.5vw, 3.2rem);
}

.terminal-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  width: max-content;
  margin-bottom: 3rem;
  column-gap: 1.5rem;
  row-gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.terminal-meta span { color: var(--dim); }
.terminal-meta b { color: #c4c9c5; font-weight: 500; }

pre {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  color: #cbd0cc;
  font-family: var(--mono);
  font-size: clamp(0.67rem, 1vw, 0.78rem);
  line-height: 2;
}

.t-dim { color: #59615d; }
.t-blue { color: var(--blue); }
.t-green, .prompt { color: var(--acid); }

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

.boundary-diagram {
  position: relative;
  padding: 1.35rem;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(31,38,34,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,38,34,0.035) 1px, transparent 1px),
    #dde0d8;
  background-size: 24px 24px;
}

.boundary-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
}

.boundary-label b { color: var(--acid); font-weight: 500; }

.diagram-grid {
  display: grid;
  grid-template-columns: 0.8fr 130px 1.2fr;
  align-items: stretch;
}

.diagram-zone {
  padding: 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(244,245,240,0.92);
}

.zone-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.zone-header small { color: var(--dim); }

.service-node {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.large-node {
  position: relative;
  gap: 0.9rem;
  min-height: 92px;
  padding: 1rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #10120e;
  background: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-node div:nth-child(2),
.service-node > span:last-child,
.external-line div > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.service-node b,
.region-node b,
.external-line b { font-size: 0.78rem; font-weight: 560; }
.service-node small,
.region-node small,
.external-line small { color: var(--dim); font-family: var(--mono); font-size: 0.58rem; }

.node-health {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.node-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.compact-node {
  gap: 0.75rem;
  min-height: 70px;
  padding: 0.75rem;
}

.cube-icon {
  color: var(--blue);
  font-size: 1.4rem;
}

.cross-account-flow {
  display: grid;
  grid-template-columns: 1fr;
  place-content: center;
  align-items: center;
  text-align: center;
}

.cross-account-flow span {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.cross-account-flow span::after {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  content: "";
  background: var(--acid);
  animation: flow 2.2s linear infinite;
}

.cross-account-flow span:last-child::after { animation-delay: 1.1s; }
.cross-account-flow i { padding: 0.7rem 0; color: var(--dim); font-family: var(--mono); font-size: 0.55rem; font-style: normal; }

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

.region-node {
  display: flex;
  flex-direction: column;
  min-height: 116px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.region-node > span {
  margin-bottom: auto;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.region-node small { margin-top: 0.3rem; }

.execution-base {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0.75rem;
  border: 1px solid var(--line);
}

.execution-base span {
  padding: 0.65rem;
  color: var(--dim);
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.52rem;
  text-align: center;
}

.execution-base span:last-child { border-right: 0; }

.external-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-strong);
}

.external-line > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.external-line > div:last-child { justify-self: end; }
.github-icon, .shield-icon { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 0.7rem; }
.shield-icon { color: var(--acid); }
.line-copy { color: var(--dim); font-family: var(--mono); font-size: 0.56rem; }

.controls-section { border-top: 1px solid var(--line); }
.compact-heading { grid-template-columns: 1fr; }
.control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.control-card {
  position: relative;
  min-height: 340px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
}

.control-card h3 {
  max-width: 560px;
  margin: 4.2rem 0 1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.control-card p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.card-number {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.featured-control {
  grid-row: span 2;
  min-height: 440px;
  background: linear-gradient(145deg, rgba(199,242,85,0.045), transparent 55%), var(--surface);
}

.featured-control h3 { margin-top: 7rem; }

.control-visual {
  position: absolute;
  top: 2.2rem;
  right: 2.2rem;
  width: 150px;
  height: 150px;
}

.fingerprint span {
  position: absolute;
  inset: calc(var(--i, 0) * 14px);
  border: 1px solid rgba(199, 242, 85, 0.28);
  border-radius: 50%;
}

.fingerprint span:nth-child(1) { --i: 0; border-right-color: transparent; transform: rotate(22deg); }
.fingerprint span:nth-child(2) { --i: 1; border-bottom-color: transparent; transform: rotate(-12deg); }
.fingerprint span:nth-child(3) { --i: 2; border-left-color: transparent; transform: rotate(35deg); }
.fingerprint span:nth-child(4) { --i: 3; background: var(--acid); border: 0; box-shadow: 0 0 28px rgba(199,242,85,0.25); }

.mini-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.mini-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); }
.mini-status span { color: var(--dim); }
.mini-status b { color: var(--acid); font-weight: 500; }
.control-card:not(.featured-control):not(.wide-control) h3 { margin-top: 3.5rem; }

.wide-control {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 4rem;
  min-height: 320px;
}

.wide-control > div:first-child {
  align-self: center;
}

.wide-control > .card-number {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.5rem, 3vw, 2.5rem);
}

.wide-control h3 {
  margin: 0 0 1rem;
}

.audit-trail {
  width: 100%;
  max-width: 680px;
  justify-self: center;
  border: 1px solid var(--line);
}

.audit-trail div {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.audit-trail div:last-child { border-bottom: 0; }
.audit-trail span, .audit-trail small { color: var(--dim); }
.audit-trail b { font-weight: 500; }
.audit-trail .trail-current { color: var(--acid); background: rgba(199,242,85,0.04); }

.final-cta {
  --line: #3d4a42;
  --line-strong: #536158;
  --muted: #b5bdb8;
  --dim: #8c9790;
  --acid: #c7f255;
  color: #eef0e9;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: center;
  min-height: 590px;
  padding: 100px max(32px, calc((100vw - 1320px) / 2));
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #26312b;
}

.final-cta h2 {
  margin: 1.3rem 0 1.4rem;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.ownership-word {
  color: var(--acid);
}

.final-cta p {
  max-width: 580px;
  margin-bottom: 2rem;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta-copy,
.final-cta .contact-form {
  position: relative;
  z-index: 2;
}

.contact-direct {
  color: var(--dim);
  font-size: 0.66rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}

.contact-form-dark {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-strong);
  background: rgba(15, 18, 17, 0.82);
  backdrop-filter: blur(10px);
}

.form-heading h2,
.form-heading h3 {
  margin: 0.75rem 0 0.4rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  color: inherit;
  background: rgba(255, 255, 255, 0.035);
  font: 0.86rem/1.5 var(--sans);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input {
  min-height: 46px;
  padding: 0 0.8rem;
}

.contact-form select {
  min-height: 46px;
  padding: 0 2rem 0 0.8rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 20px,
    calc(100% - 9px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.contact-form textarea {
  resize: vertical;
  padding: 0.7rem 0.8rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(199, 242, 85, 0.08);
}

.contact-form .button {
  width: 100%;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-wrap {
  min-height: 65px;
}

.form-status {
  min-height: 1em;
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.cta-orbit {
  position: absolute;
  right: max(24px, calc((100vw - 1420px) / 2));
  bottom: -9rem;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  opacity: 0.16;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: var(--inset);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(199,242,85,0.65);
  content: "";
}

.orbit-1 { --inset: 0; animation: rotate 17s linear infinite; }
.orbit-2 { --inset: 13%; animation: rotate 12s linear infinite reverse; }
.orbit-3 { --inset: 27%; animation: rotate 8s linear infinite; }
.orbit-core { position: absolute; inset: 42%; background: var(--acid); box-shadow: 0 0 60px rgba(199,242,85,0.25); }

.orbit-core::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #172016;
  content: "_";
  font-family: var(--mono);
  font-size: clamp(1.2rem, 3vw, 2.8rem);
  font-style: normal;
  font-weight: 800;
}

@keyframes rotate { to { transform: rotate(360deg); } }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  min-height: 110px;
  margin: 0 auto;
  color: var(--dim);
  font-size: 0.72rem;
}

footer p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 750;
}
.footer-meta { display: flex; align-items: center; justify-self: end; gap: 1.5rem; }
.header-cta, .footer-meta a { color: var(--text); font-family: var(--sans); font-size: 1.05rem; font-weight: 750; letter-spacing: normal; text-decoration: none; text-transform: none; }
.header-cta:hover, .header-cta:focus-visible, .footer-meta a:hover, .footer-meta a:focus-visible { color: var(--acid-2); text-decoration: underline; }
.footer-meta span { font-size: 0.6rem; }
.footer-brand { color: var(--text); }
.footer-brand .brand-name::after { display: none; }

.subpage-main,
.pricing-main {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: clamp(3rem, 9vw, 9rem);
  min-height: 520px;
  padding: 90px 0 80px;
  border-bottom: 1px solid var(--line-strong);
}

.page-hero h1,
.pricing-placeholder h1 {
  margin-bottom: 1.4rem;
}

.page-hero h1 span,
.pricing-placeholder h1 span {
  color: var(--acid-2);
}

.page-hero > div > p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-context {
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.contact-context > span {
  color: var(--dim);
  font-size: 0.62rem;
}

.contact-context ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 2rem;
  padding: 0;
  list-style: none;
}

.contact-context li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.contact-context a {
  color: var(--acid-2);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.contact-page-section {
  display: grid;
  place-items: center;
  min-height: 700px;
  padding: 90px 0 110px;
}

.contact-form-page {
  max-width: 820px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.contact-form-page input,
.contact-form-page textarea {
  background: rgba(255, 255, 255, 0.28);
}

.pricing-main {
  padding: 90px 0 110px;
}

.pricing-intro {
  width: min(860px, 100%);
  margin: 0 auto 5rem;
  text-align: center;
}

.pricing-intro .section-index {
  justify-content: center;
}

.pricing-intro h1 {
  max-width: none;
  margin-bottom: 1.2rem;
}

.pricing-intro h1 span {
  color: var(--acid-2);
}

.pricing-intro p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pricing-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.pricing-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.pricing-ticket::before,
.pricing-ticket::after {
  position: absolute;
  top: 66%;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  content: "";
}

.pricing-ticket::before { left: -10px; }
.pricing-ticket::after { right: -10px; }

.featured-ticket {
  border-color: var(--acid-2);
  background: linear-gradient(155deg, rgba(119, 165, 27, 0.1), transparent 48%), var(--surface);
  transform: translateY(-12px);
}

.pricing-ticket:hover,
.pricing-ticket:focus-within {
  border-color: var(--acid-2);
  background: linear-gradient(155deg, rgba(119, 165, 27, 0.1), transparent 48%), var(--surface);
  box-shadow: 0 20px 60px rgba(29, 39, 31, 0.1);
  transform: translateY(-12px);
}

.pricing-board:has(.pricing-ticket:hover) .featured-ticket:not(:hover),
.pricing-board:has(.pricing-ticket:focus-within) .featured-ticket:not(:focus-within) {
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: none;
  transform: none;
}

.ticket-meta,
.ticket-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.ticket-meta {
  padding-bottom: 1rem;
  color: var(--dim);
  border-bottom: 1px dashed var(--line-strong);
}

.ticket-meta b {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.featured-ticket .ticket-meta b {
  color: var(--acid-2);
}

.ticket-heading {
  min-height: 220px;
  padding: 2rem 0 1.4rem;
}

.ticket-heading h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.ticket-rate {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 0.5rem;
  font-family: var(--mono);
}

.ticket-rate strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.ticket-rate > span {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.ticket-rate small {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
  color: var(--acid-2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-rate {
  grid-template-columns: 1fr;
}

.contact-rate strong {
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  white-space: nowrap;
}

.contact-rate > span {
  margin-top: 0.35rem;
}

.pricing-ticket ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 1.2rem 0 1.4rem;
  border-top: 1px dashed var(--line-strong);
  list-style: none;
}

.pricing-ticket li {
  padding: 0.72rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.pricing-ticket li::before {
  margin-right: 0.6rem;
  color: var(--acid-2);
  content: "+";
  font-family: var(--mono);
}

.ticket-stub {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--dim);
  border-top: 1px dashed var(--line-strong);
}

.ticket-stub b {
  color: var(--text);
  font-weight: 500;
}

.ticket-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0 0.9rem;
  color: #11160f;
  background: var(--acid);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.ticket-contact:hover,
.ticket-contact:focus-visible {
  background: #94c82a;
}

.pricing-contact {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin-top: 5rem;
  text-align: center;
}

.pricing-contact p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.trial-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--acid-2);
  background: linear-gradient(120deg, rgba(119, 165, 27, 0.12), transparent 70%), var(--surface);
}

.trial-callout h2 { margin: 0.9rem 0 0.8rem; font-size: clamp(1.7rem, 2.6vw, 2.6rem); letter-spacing: -0.04em; }
.trial-callout p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.65; }
.trial-callout .button { white-space: nowrap; }

.docs-main {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.docs-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 590px;
  padding: 90px 0 80px;
  border-bottom: 1px solid var(--line-strong);
}

.docs-hero h1 {
  max-width: 820px;
  margin-bottom: 1.6rem;
}

.docs-hero h1 span {
  color: var(--acid-2);
}

.docs-hero > div > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.docs-hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.docs-hero-facts div {
  min-height: 105px;
  padding: 1rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.docs-hero-facts dt,
.docs-hero-facts dd {
  margin: 0;
  font-family: var(--mono);
}

.docs-hero-facts dt {
  margin-bottom: 1.7rem;
  color: var(--dim);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.docs-hero-facts dd {
  font-size: 0.74rem;
}

.docs-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding: 70px 0 120px;
}

.docs-nav {
  position: sticky;
  top: 24px;
  display: grid;
  align-self: start;
  border-top: 1px solid var(--line-strong);
}

.docs-nav > span {
  padding: 1rem 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.docs-nav a {
  padding: 0.72rem 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  font-family: var(--mono);
  font-size: 0.62rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.docs-nav a:hover,
.docs-nav a:focus-visible {
  color: var(--text);
  border-left-color: var(--acid);
  background: rgba(119, 165, 27, 0.05);
}

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

.docs-section {
  padding: 82px 0;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 24px;
}

.docs-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.docs-section h2 {
  max-width: 850px;
  margin: 1.1rem 0 1.5rem;
  font-size: clamp(2.1rem, 3.5vw, 4rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1;
}

.included-map {
  margin: 0 0 2rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.included-map figcaption,
.included-node > span,
.included-group-heading > span,
.included-connector {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.included-map figcaption { margin-bottom: 1.5rem; color: var(--dim); }
.included-node { min-width: 0; padding: 1.35rem; border: 1px solid var(--line-strong); background: var(--bg); }
.included-node > span { color: var(--acid-2); }
.included-node h3 { margin: 0.65rem 0 0.45rem; font-size: 1.18rem; letter-spacing: -0.025em; }
.included-node p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.included-source { max-width: 560px; margin: 0 auto; }
.included-connector { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 58px; color: var(--dim); text-align: center; }
.included-connector span { color: var(--acid-2); font-size: 1.25rem; line-height: 1; }
.included-primary { padding: 1rem; border: 1px solid var(--acid-2); background: rgba(119, 165, 27, 0.06); }
.included-group-heading { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.included-group-heading > span { color: var(--acid-2); }
.included-group-heading b { font-size: 0.75rem; font-weight: 600; }
.included-primary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.included-workers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.included-return { max-width: 700px; margin: 0 auto; line-height: 1.6; }

.workflow-detail-link { display: flex; align-items: center; justify-content: center; gap: 0.65rem; width: fit-content; max-width: 100%; margin: 2.5rem auto 0; padding: 0.9rem 1.3rem; border: 1px solid var(--acid-2); background: rgba(119, 165, 27, 0.1); color: var(--acid-2); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 750; text-align: center; }
.workflow-detail-link:hover, .workflow-detail-link:focus-visible { background: var(--acid); color: var(--text); }

.docs-lede {
  max-width: 850px;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.75;
}

.docs-card-grid,
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.docs-card-grid article,
.guarantee-grid article {
  min-height: 250px;
  padding: 1.4rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
}

.docs-card-grid article > span {
  color: var(--acid-2);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.docs-card-grid h3 {
  margin: 4rem 0 0.8rem;
  font-size: 1.22rem;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.docs-card-grid p,
.guarantee-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.incident-scenario {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-left: 4px solid var(--acid);
  background: rgba(119, 165, 27, 0.07);
}

.incident-scenario > span {
  color: var(--acid-2);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.incident-scenario h3 {
  max-width: 760px;
  margin: 1.1rem 0 1rem;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 580;
  letter-spacing: -0.03em;
}

.incident-scenario p {
  max-width: 850px;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.incident-scenario p:last-child {
  margin-bottom: 0;
}

.docs-callout {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 1.4rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.docs-callout b {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.docs-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.strong-callout {
  border-color: var(--acid-2);
  background: rgba(119, 165, 27, 0.07);
}

.docs-steps,
.lifecycle-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.docs-steps li,
.lifecycle-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.docs-steps li > span,
.lifecycle-list article > span {
  display: grid;
  place-items: center;
  color: var(--acid-2);
  border-right: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.docs-steps li > div,
.lifecycle-list article > div {
  padding: 1.25rem 1.4rem;
}

.docs-steps h3,
.lifecycle-list h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}

.docs-steps p,
.lifecycle-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.docs-code {
  margin-top: 2.5rem;
  color: #dfe4de;
  border: 1px solid #3c4641;
  background: #111413;
}

.docs-code > div {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  color: #969f99;
  border-bottom: 1px solid #303734;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.docs-code pre {
  padding: 1.2rem;
  font-size: 0.72rem;
  line-height: 1.7;
}

.lifecycle-list article > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: baseline;
  gap: 1.5rem;
}

.docs-flow {
  display: grid;
  gap: 2.4rem;
  max-width: 920px;
}

.docs-flow article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.4rem;
}

.docs-flow article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--acid-2);
  border: 1px solid var(--acid-2);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.docs-flow h3,
.docs-prose h3 {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.docs-flow p,
.docs-prose p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

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

.docs-prose > h3:not(:first-child) {
  margin-top: 2.7rem;
}

.docs-prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  max-width: none;
}

.docs-prose-columns article {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-strong);
}

.cost-highlight {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 920px;
  margin-bottom: 3rem;
  padding: 1.7rem;
  border: 1px solid var(--acid-2);
  background: rgba(119, 165, 27, 0.07);
}

.cost-highlight > strong {
  color: var(--acid-2);
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.cost-highlight b {
  font-size: 1rem;
}

.cost-highlight p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.docs-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
}

.docs-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--surface);
}

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

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

.docs-table tbody tr:last-child td {
  border-bottom: 0;
}

.docs-table th {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.docs-table td {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.docs-table td:first-child {
  color: var(--text);
  font-weight: 650;
}

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

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

.guarantee-grid b {
  display: block;
  margin-bottom: 4rem;
  font-size: 1rem;
}

.docs-note {
  margin: 2rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  border-left: 3px solid var(--acid);
  font-size: 0.85rem;
  line-height: 1.7;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.source-links a {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.security-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.security-list > div {
  display: grid;
  grid-template-columns: 65px 1fr;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.security-list span {
  display: grid;
  place-items: center;
  color: var(--acid-2);
  border-right: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.security-list p {
  margin: 0;
  padding: 1.1rem 1.3rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.security-list b {
  color: var(--text);
}

.license-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.license-timeline div {
  min-height: 175px;
  padding: 1rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.license-timeline span {
  color: var(--acid-2);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
}

.license-timeline p {
  margin: 4rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.limit-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.limit-list li {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.limit-list b {
  font-size: 0.9rem;
}

.limit-list span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.docs-faq details {
  border-top: 1px solid var(--line-strong);
}

.docs-faq details:last-of-type {
  border-bottom: 1px solid var(--line-strong);
}

.docs-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 620;
  list-style: none;
}

.docs-faq summary::after {
  color: var(--acid-2);
  content: "+";
  font-family: var(--mono);
}

.docs-faq details[open] summary::after {
  content: "−";
}

.docs-faq details p {
  max-width: 820px;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.docs-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  padding: 3rem;
  color: #edf2ec;
  background: #26312b;
}

.docs-cta h2 {
  max-width: 670px;
  margin: 1rem 0 0;
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1;
}

.docs-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.docs-cta .button-secondary {
  color: #edf2ec;
  border-color: #708077;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-copy { max-width: 760px; }
  .system-panel { width: min(760px, 100%); }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .diagram-grid { grid-template-columns: 1fr; gap: 0; }
  .cross-account-flow { grid-template-columns: 1fr auto 1fr; padding: 1.1rem 0; }
  .cross-account-flow i { padding: 0 0.8rem; }
  .external-line { grid-template-columns: 1fr 1fr; }
  .line-copy { display: none; }
  .final-cta { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .pricing-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-shell { grid-template-columns: 195px minmax(0, 1fr); gap: 3rem; }
  .docs-card-grid { grid-template-columns: 1fr; }
  .docs-card-grid article { min-height: 190px; }
  .docs-card-grid h3 { margin-top: 2.8rem; }
}

@media (max-width: 800px) {
  .site-header,
  .hero,
  .section,
  footer {
    width: calc(100% - 72px);
    max-width: 680px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 80px;
    padding: 16px 0 13px;
    row-gap: 13px;
  }
  .desktop-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    column-gap: 1.4rem;
    row-gap: 0.75rem;
  }
  .mobile-only-link { display: block; }
  .header-cta { display: block; grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: minmax(0,1fr); min-height: auto; padding: 58px 0 70px; }
  .hero-copy,
  .hero-lede,
  .hero-actions,
  .system-panel { max-width: 100%; }
  h1 { font-size: clamp(3.7rem, 16vw, 6.2rem); }
  .system-panel { width: 100%; }
  .scope-line { grid-template-columns: 1fr 1fr; }
  .scope-line span:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .artifact-grid { grid-template-columns: 1fr 1fr; }
  .artifact-grid div:nth-child(2) { border-right: 0; }
  .artifact-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .why-aside { gap: 2.2rem; }
  .founder-card { max-width: 100%; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-rail { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .terminal-body { min-height: 350px; }
  .region-row { grid-template-columns: 1fr; }
  .region-node { min-height: 95px; }
  .execution-base { grid-template-columns: 1fr 1fr; }
  .execution-base span:nth-child(2) { border-right: 0; }
  .execution-base span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .external-line { grid-template-columns: 1fr; }
  .external-line > div:last-child { justify-self: start; }
  .control-grid { grid-template-columns: 1fr; }
  .featured-control { grid-row: auto; }
  .wide-control { grid-column: auto; grid-template-columns: 1fr; gap: 2.5rem; }
  .final-cta { grid-template-columns: 1fr; min-height: 680px; padding: 80px 24px; }
  .final-cta .contact-form { justify-self: start; margin-top: 2rem; }
  .cta-orbit { right: -110px; bottom: -130px; width: 360px; opacity: 0.09; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
  .footer-meta { flex-direction: column; align-items: flex-end; gap: 0.35rem; text-align: right; }
  .subpage-main,
  .pricing-main,
  .docs-main { width: calc(100% - 72px); max-width: 680px; }
  .page-hero { grid-template-columns: 1fr; align-items: start; min-height: auto; gap: 3rem; padding: 70px 0; }
  .contact-page-section { min-height: 0; padding: 70px 0 90px; }
  .pricing-main { padding: 70px 0 90px; }
  .pricing-board { grid-template-columns: 1fr; gap: 1rem; }
  .trial-callout { grid-template-columns: 1fr; gap: 1.5rem; }
  .trial-callout .button { justify-self: start; white-space: normal; }
  .pricing-ticket { min-height: 0; }
  .featured-ticket,
  .pricing-ticket:hover,
  .pricing-ticket:focus-within { transform: none; }
  .docs-hero { grid-template-columns: 1fr; align-items: start; min-height: auto; gap: 3rem; padding: 70px 0; }
  .docs-shell { grid-template-columns: 1fr; gap: 4rem; padding-top: 50px; }
  .docs-nav { position: static; grid-template-columns: 1fr 1fr; }
  .docs-nav > span { grid-column: 1 / -1; }
  .docs-section { padding: 68px 0; }
  .included-primary-grid, .included-workers { grid-template-columns: 1fr; }
  .included-group-heading { flex-direction: column; gap: 0.35rem; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .license-timeline { grid-template-columns: 1fr 1fr; }
  .docs-prose-columns { grid-template-columns: 1fr; gap: 2.3rem; }
  .cost-highlight { grid-template-columns: 130px 1fr; }
  .docs-cta { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 540px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { padding: 0.8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts div + div { padding-left: 0; }
  .pipeline { grid-template-columns: repeat(4, 1fr); padding: 1.4rem 0.7rem; }
  .pipeline-link { display: none; }
  .pipeline-step small { display: none; }
  .artifact-card { margin: 0.7rem; }
  .artifact-heading { gap: 1rem; }
  .artifact-grid { grid-template-columns: 1fr; }
  .artifact-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .artifact-grid div:last-child { border-bottom: 0; }
  .artifact-grid div:nth-child(2) { border-right: 0; }
  .artifact-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .panel-footer { align-items: flex-start; gap: 1rem; }
  .section { padding: 90px 0; }
  h1 { font-size: clamp(2.5rem, 10.8vw, 3.2rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form-dark { padding: 1.2rem; }
  .pricing-intro { margin-bottom: 3.5rem; }
  .docs-hero-facts { grid-template-columns: 1fr; }
  .docs-callout { grid-template-columns: 1fr; gap: 0.8rem; }
  .docs-steps li,
  .lifecycle-list article { grid-template-columns: 52px 1fr; }
  .lifecycle-list article > div { grid-template-columns: 1fr; gap: 0.45rem; }
  .docs-flow article { grid-template-columns: 40px 1fr; gap: 1rem; }
  .docs-flow article > span { width: 36px; height: 36px; }
  .cost-highlight { grid-template-columns: 1fr; gap: 1rem; }
  .license-timeline { grid-template-columns: 1fr; }
  .limit-list li { grid-template-columns: 1fr; gap: 0.7rem; }
  .docs-cta { padding: 2rem 1.3rem; }
  .docs-cta > div:last-child { display: grid; width: 100%; }
  .hero-line,
  .heading-line,
  .desktop-heading-line { white-space: normal; text-wrap: balance; }
  .why-content h2 { font-size: clamp(2rem, 10vw, 3rem); text-wrap: balance; }
  .why-lede { margin-bottom: 2.8rem; }
  .why-principles { grid-template-columns: 1fr; }
  .why-principles article,
  .why-principles article + article { min-height: 0; padding: 1.4rem 0 2rem; border-right: 0; }
  .why-principles article + article { border-top: 1px solid var(--line); }
  .why-principles h3 { margin-top: 2.2rem; }
  .section-heading { margin-bottom: 2.7rem; }
  .boundary-label { flex-direction: column; gap: 0.5rem; }
  .node-row { grid-template-columns: 1fr; }
  .execution-base { grid-template-columns: 1fr; }
  .execution-base span { border-right: 0; border-bottom: 1px solid var(--line); }
  .execution-base span:last-child { border-bottom: 0; }
  .control-visual { right: -25px; opacity: 0.7; }
  .audit-trail div { grid-template-columns: 72px 1fr; row-gap: 0.3rem; }
  .audit-trail small { grid-column: 2; }
  .trust-strip { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
