:root {
  --black: #020202;
  --black-2: #080808;
  --black-3: #101010;
  --white: #ffffff;
  --off-white: #f4f2ee;
  --gray-100: #eeeeee;
  --gray-300: #c7c7c7;
  --gray-500: #858585;
  --gray-700: #444444;
  --border-dark: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.28);
  --border-light: rgba(0, 0, 0, 0.12);
  --container: 1180px;
  --container-wide: 1240px;
  --header-height: 76px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --heading-font: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.08), transparent 38%);
  background-size: 46px 46px, 46px 46px, 100% 820px;
  background-repeat: repeat, repeat, no-repeat;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  border: 1px solid var(--white);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  padding: 0.7rem 1rem;
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 180ms var(--ease);
}

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

.container {
  width: min(100% - 44px, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 44px, var(--container-wide));
  margin-inline: auto;
}

.eyebrow {
  color: currentColor;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.72;
}

.hero-title,
.section-title,
.case-title,
.case-section-title,
.story-copy h2,
.visual-card h3,
.system-card h3,
.artifact-card h3,
.artifact-card h4,
.outcome-card h3,
.cta-copy h2,
.case-cta h2 {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-title {
  max-width: 660px;
  color: var(--white);
  font-size: clamp(42px, 3.9vw, 56px);
  line-height: 1.05;
}

.section-title {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
}

.title-line {
  display: block;
}

.lead-line {
  display: block;
}

#systems-title {
  max-width: 860px;
}

.section-lead,
.hero-lead,
.case-subtitle {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.76;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.92rem 1.16rem;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

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

.button svg {
  width: 1.05rem;
  height: 1.05rem;
}

.button-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.08);
}

.button-primary:hover {
  background: var(--gray-100);
}

.button-secondary {
  border-color: var(--border-strong);
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 2, 2, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3.2vw, 3.4rem);
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
  transition: color 160ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav a[aria-current="true"] {
  color: var(--white);
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: rgba(255, 255, 255, 0.76);
  content: "";
  transition: transform 180ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  padding: clamp(54px, 6vw, 88px) 0 clamp(58px, 6vw, 82px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(56px, 7vw, 118px);
  width: min(100% - 128px, 1500px);
}

.hero-copy {
  display: grid;
  gap: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 4px;
}

.cred-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border-dark);
}

.cred-row article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.cred-row svg {
  width: 34px;
  height: 34px;
}

.cred-row strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  line-height: 1.28;
}

.cred-row span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.system-console,
.case-console {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-section-title,
.panel-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.console-section-title {
  padding: 24px 28px 16px;
}

.console-pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 38px;
  padding: 0 28px 32px;
}

.console-pipeline > div {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
}

.console-pipeline > div:not(:last-child)::after {
  position: absolute;
  right: -28px;
  top: 50%;
  content: "→";
  color: rgba(255, 255, 255, 0.72);
  transform: translateY(-50%);
}

.console-pipeline svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

.console-pipeline strong,
.console-pipeline span {
  display: block;
}

.console-pipeline strong {
  color: var(--white);
  font-size: 12px;
}

.console-pipeline span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-style: italic;
}

.console-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.68fr;
  border-top: 1px solid var(--border-dark);
}

.console-panel {
  min-width: 0;
  min-height: 188px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 24px;
}

.console-panel:nth-child(2n) {
  border-right: 0;
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.status-line strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
  font-size: 10px;
  font-weight: 760;
}

.status-line strong::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.console-table {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1fr 0.8fr 0.9fr;
  gap: 16px 22px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  white-space: nowrap;
}

.console-table span:nth-child(-n + 5) {
  color: var(--white);
  font-weight: 800;
}

.prompt-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.prompt-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.prompt-list svg {
  width: 15px;
  height: 15px;
  margin-right: 8px;
}

.report-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 22px;
  margin-top: 18px;
}

.report-preview span,
.report-preview strong {
  display: block;
}

.report-preview span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
}

.report-preview strong {
  color: var(--white);
  font-size: 12px;
}

.line-chart {
  width: 100%;
  height: 70px;
  margin-top: 16px;
}

.line-chart path {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.4;
}

.report-metrics {
  display: grid;
  align-content: center;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px solid var(--border-dark);
}

.report-metrics strong {
  font-size: 30px;
}

.console-note {
  margin-top: -10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.trust-strip {
  padding: 24px 0 48px;
}

.trust-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100% - 96px, 1500px);
  margin-inline: auto;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% -40%, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  color: var(--white);
  padding: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.trust-card article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: 32px 36px;
  border-right: 1px solid var(--border-dark);
}

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

.trust-card svg {
  width: 40px;
  height: 40px;
}

.trust-card strong {
  display: block;
  font-size: 14px;
  font-weight: 850;
}

.trust-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: clamp(74px, 9vw, 126px) 0;
}

.stack-section {
  padding-bottom: clamp(54px, 6vw, 86px);
}

.split-heading,
.stack-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 46px;
}

.split-heading .eyebrow,
.stack-heading .eyebrow {
  margin-bottom: 18px;
}

.stack-heading {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr);
  gap: 56px;
  width: min(100% - 96px, 1500px);
}

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

.stack-heading .section-lead {
  max-width: 560px;
  margin-left: auto;
}

.systems-section .split-heading {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr);
  gap: 56px;
  width: min(100% - 96px, 1500px);
}

.systems-lead {
  min-width: 0;
  max-width: 560px;
}

.systems-copy {
  display: grid;
  gap: 18px;
  align-self: end;
  max-width: 560px;
  margin-left: auto;
  min-width: 0;
}

.proof-context {
  max-width: 840px;
  margin-top: -18px;
  margin-bottom: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  padding-left: 22px;
}

.systems-proof-context {
  min-width: 0;
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.65;
  padding-left: 18px;
}

.case-proof-context {
  margin: 22px 0 0;
}

.systems-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 0.95fr);
  grid-template-rows: repeat(3, minmax(152px, auto));
  gap: 32px;
  align-items: stretch;
  width: min(100% - 96px, 1500px);
  margin-inline: auto;
}

.system-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 152px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.025);
  color: var(--white);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.36);
  background-color: rgba(255, 255, 255, 0.05);
}

.system-card:focus-visible,
.back-link:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
}

.system-card-large {
  grid-row: 1 / 4;
  min-height: 460px;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px 30px;
}

.system-card-large:nth-child(1) {
  grid-column: 1;
}

.system-card-large:nth-child(2) {
  grid-column: 2;
}

.system-card-small {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.system-card-small:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.system-card-small:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.system-card-small:nth-child(5) {
  grid-column: 3;
  grid-row: 3;
}

.system-card-copy {
  display: grid;
  gap: 15px;
}

.system-card .system-label {
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.system-card h3 {
  max-width: 410px;
  color: var(--white);
  font-size: clamp(22px, 2.15vw, 30px);
  line-height: 1.04;
}

.system-card-small h3 {
  font-size: clamp(20px, 2.1vw, 24px);
}

.system-card p {
  max-width: 350px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.58;
}

.content-os-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 36px 0 40px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    rgba(255, 255, 255, 0.018);
  background-size: 24px 24px;
}

.content-os-map::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: calc(var(--radius-sm) - 6px);
  pointer-events: none;
  content: "";
}

.content-map-rail,
.content-engine-card,
.content-output-board,
.content-control-row {
  position: relative;
  z-index: 1;
}

.content-map-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 2px 14px;
}

.content-map-rail span,
.content-control-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.content-map-rail svg,
.content-engine-card svg,
.content-output-board svg,
.content-control-row svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, 0.82);
}

.content-map-rail span {
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.content-map-rail b {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono-font);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  padding: 7px 10px;
}

.content-engine-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.032);
  padding: 20px;
}

.content-engine-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.content-engine-card strong {
  display: block;
  max-width: 270px;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.content-engine-card > svg {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding: 11px;
}

.content-output-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.content-output-board span {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.024);
  padding: 14px 12px;
}

.content-output-board b {
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.content-output-board em {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.content-control-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.content-control-row span {
  justify-content: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  padding: 10px;
  text-align: center;
}

.lead-ops-preview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 36px 0 40px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    rgba(255, 255, 255, 0.018);
  background-size: 24px 24px;
}

.lead-ops-preview::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: calc(var(--radius-sm) - 6px);
  pointer-events: none;
  content: "";
}

.lead-preview-top,
.lead-record-card,
.lead-pipeline-steps,
.lead-control-row {
  position: relative;
  z-index: 1;
}

.lead-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 2px 14px;
}

.lead-preview-top span,
.lead-control-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.lead-preview-top svg,
.lead-record-card svg,
.lead-pipeline-steps svg,
.lead-control-row svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, 0.82);
}

.lead-preview-top span {
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.lead-preview-top b {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono-font);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.lead-record-card {
  display: grid;
  gap: 12px;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.032);
  padding: 18px;
}

.lead-record-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lead-record-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead-record-card b {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 7px 10px;
}

.lead-record-card strong {
  display: block;
  max-width: 280px;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.lead-record-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: none;
}

.lead-record-card em {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.lead-pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.lead-pipeline-steps span {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.024);
  padding: 14px 12px;
}

.lead-pipeline-steps b {
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.lead-pipeline-steps em {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.lead-control-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lead-control-row span {
  justify-content: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  padding: 10px;
  text-align: center;
}

.card-link,
.card-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
}

.corner-icon {
  width: 74px;
  height: 74px;
  color: rgba(255, 255, 255, 0.7);
}

.process-section {
  position: relative;
  padding-top: clamp(82px, 9vw, 132px);
}

.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr);
  align-items: end;
  gap: 56px;
  width: min(100% - 96px, 1500px);
  margin-inline: auto;
  margin-bottom: 46px;
}

.process-heading .section-title {
  max-width: 760px;
  margin-top: 18px;
}

.process-heading .section-lead {
  max-width: 560px;
  margin-left: auto;
}

.process-board {
  position: relative;
  width: min(100% - 96px, 1500px);
}

.process-board::before {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 47px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.8;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.process-row article {
  position: relative;
  min-width: 0;
}

.process-row article:not(:last-child)::after {
  position: absolute;
  top: 38px;
  right: -13px;
  z-index: 2;
  width: 28px;
  height: 18px;
  content: "→";
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.process-step {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 292px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.014));
  padding: 22px 20px 20px;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.028);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}

.process-number {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.process-node {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.process-node svg {
  width: 24px;
  height: 24px;
}

.process-row h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 760;
}

.process-row p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13.5px;
  line-height: 1.62;
}

.process-artifact {
  display: block;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  width: min(100% - 96px, 1500px);
  margin-inline: auto;
}

.tool-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 104px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.022);
  padding: 16px;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
  background-color: rgba(255, 255, 255, 0.045);
}

.tool-logo {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--white);
  opacity: 0.88;
  object-fit: contain;
  stroke-width: 1.55;
}

.tool-logo-img {
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  opacity: 0.84;
  padding: 0;
}

.zapier-logo {
  background: var(--white);
  -webkit-mask: url("https://api.iconify.design/logos:zapier-icon.svg") center / contain no-repeat;
  mask: url("https://api.iconify.design/logos:zapier-icon.svg") center / contain no-repeat;
}

.tool-logo-set {
  display: grid;
  grid-template-columns: repeat(2, 20px);
  grid-auto-rows: 20px;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  opacity: 0.78;
}

.tool-monogram {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.tool-logo-mini {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.tool-logo-mini:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
}

.tool-card strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.tool-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.38;
}

.final-cta {
  padding-top: 34px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.02);
  background-size: 26px 26px;
  padding: clamp(28px, 4vw, 52px);
}

.cta-panel::after {
  position: absolute;
  right: -10%;
  bottom: -85%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.cta-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.cta-copy .section-title,
.cta-panel .section-title {
  max-width: 560px;
  font-size: clamp(28px, 3.3vw, 44px);
}

.cta-copy p:last-child,
.cta-panel > p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.66);
}

.cta-panel .button {
  position: relative;
  z-index: 1;
  min-width: 236px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.footer-brand span:last-child {
  display: grid;
  gap: 4px;
}

.footer-brand em,
.footer-name + p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.footer-inner nav {
  display: flex;
  gap: 30px;
}

.footer-email {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 760;
}

.footer-email:hover {
  color: var(--white);
}

.footer-name {
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-dark,
.case-page {
  background: transparent;
  color: var(--white);
}

.case-hero {
  padding: clamp(58px, 9vw, 112px) 0 72px;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 80px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.case-title {
  max-width: 760px;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.96;
}

.case-subtitle {
  margin-top: 24px;
}

.proof-note,
.case-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 760;
}

.case-console {
  padding: 18px;
}

.case-console-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
  padding: 0 2px 16px;
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.console-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.console-stack b {
  color: var(--white);
  font-weight: 800;
}

.case-page .section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.case-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.54fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.case-section-title {
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.04;
}

.case-section-heading p:last-child {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

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

.snapshot-grid article {
  min-width: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  padding: 20px;
}

.snapshot-grid svg {
  width: 28px;
  height: 28px;
}

.snapshot-grid span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
}

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

.artifact-card {
  min-width: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.026);
  padding: clamp(22px, 3vw, 34px);
}

.artifact-card.wide {
  grid-column: 1 / -1;
}

.artifact-card h3 {
  color: var(--white);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
}

.artifact-card h4 {
  margin-top: 24px;
  color: var(--white);
  font-size: 18px;
}

.artifact-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.72;
}

.artifact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.artifact-list li,
.checklist-preview li,
.notes-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.artifact-list li::before,
.checklist-preview li::before,
.notes-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.architecture-grid,
.automation-map,
.dashboard-mockup {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

.architecture-grid span,
.automation-map span,
.schema-table span,
.prompt-card,
.dashboard-mockup span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.45;
}

.architecture-grid b,
.automation-map b,
.dashboard-mockup b {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 13px;
}

.automation-map {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.automation-map span {
  position: relative;
  min-height: 88px;
}

.automation-map span:not(:last-child)::after {
  position: absolute;
  right: -12px;
  top: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  content: "→";
  transform: translateY(-50%);
}

.schema-table {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 1fr 1.05fr;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
}

.schema-table span {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.schema-table span:nth-child(4n) {
  border-right: 0;
}

.schema-table span:nth-child(-n + 4) {
  color: var(--white);
  font-weight: 850;
  text-transform: uppercase;
}

.checklist-preview {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.prompt-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.prompt-card {
  min-height: 154px;
}

.prompt-card strong {
  display: block;
  color: var(--white);
  font-size: 14px;
}

.prompt-card code {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono-font);
  font-size: 11px;
  line-height: 1.6;
  white-space: normal;
}

.dashboard-mockup {
  grid-template-columns: 0.85fr 1.2fr 1fr;
}

.dashboard-mockup span {
  min-height: 92px;
}

.dashboard-mockup span:nth-child(2) {
  grid-row: span 2;
}

.metric-number {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 36px;
  line-height: 1;
}

.two-column-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.story-copy {
  display: grid;
  gap: 18px;
}

.story-copy h2 {
  color: var(--white);
  font-size: clamp(32px, 3.9vw, 52px);
  line-height: 1.04;
}

.story-copy p,
.story-copy li {
  color: rgba(255, 255, 255, 0.68);
}

.notes-list {
  display: grid;
  gap: 12px;
}

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

.outcome-card {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.026);
  padding: 28px;
}

.outcome-card h3 {
  margin-top: 14px;
  color: var(--white);
  font-size: 25px;
  line-height: 1.12;
}

.outcome-card p:last-child {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.72;
}

.case-cta {
  padding-top: 30px;
}

.case-cta .cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
}

.reveal {
  opacity: 1;
}

.reveal-pending {
  transform: translateY(18px);
  opacity: 0;
}

.reveal-pending.is-visible {
  transform: translateY(0);
  opacity: 1;
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}

@media (max-width: 1320px) {
  .systems-section .split-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .systems-copy {
    max-width: 760px;
    margin-left: 0;
  }

  .systems-lead,
  .systems-proof-context {
    max-width: 760px;
  }
}

@media (max-width: 1160px) {
  .hero-layout,
  .case-hero-grid {
    grid-template-columns: 1fr;
  }

  .systems-section .split-heading {
    grid-template-columns: 1fr;
    width: min(100% - 44px, var(--container));
    gap: 28px;
  }

  .systems-copy {
    max-width: 760px;
    margin-left: 0;
  }

  .systems-lead,
  .systems-proof-context {
    max-width: 760px;
  }

  .process-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(100% - 44px, var(--container));
  }

  .stack-heading {
    gap: 28px;
    width: min(100% - 44px, var(--container));
  }

  .stack-heading .section-lead {
    max-width: 760px;
    margin-left: 0;
  }

  .process-heading .section-lead {
    margin-left: 0;
  }

  .process-board {
    width: min(100% - 44px, var(--container));
  }

  .process-board::before {
    display: none;
  }

  .hero-layout {
    width: min(100% - 44px, var(--container));
    gap: clamp(30px, 5vw, 52px);
  }

  .hero {
    padding-top: clamp(42px, 5vw, 58px);
    padding-bottom: clamp(44px, 5vw, 62px);
  }

  .hero-copy {
    gap: 24px;
  }

  .cred-row {
    margin-top: 28px;
    padding-top: 26px;
  }

  .system-console,
  .case-console {
    max-width: 820px;
  }

  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 44px, var(--container));
  }

  .system-card-large,
  .system-card-large:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .system-card-small:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .tool-stack-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    width: min(100% - 44px, var(--container));
  }

  .trust-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 44px, var(--container));
  }

  .trust-card article {
    padding: 28px;
  }

  .trust-card article:nth-child(2n) {
    border-right: 0;
  }

  .trust-card article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-dark);
  }

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

  .process-row article:not(:last-child)::after {
    display: none;
  }

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

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

@media (max-width: 860px) {
  .container,
  .container-wide {
    width: min(100% - 32px, var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 12px);
    z-index: 120;
    display: grid;
    gap: 0;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background: rgba(2, 2, 2, 0.96);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: var(--radius-sm);
    padding: 14px 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-layout {
    width: min(100% - 32px, var(--container));
    gap: 34px;
  }

  .hero-title,
  .case-title {
    font-size: clamp(40px, 12vw, 58px);
  }

  #systems-title .title-line {
    display: inline;
  }

  #systems-title .title-line + .title-line::before {
    content: " ";
  }

  .systems-lead .lead-line {
    display: inline;
  }

  .systems-lead .lead-line + .lead-line::before {
    content: " ";
  }

  .cred-row,
  .trust-card,
  .split-heading,
  .stack-heading,
  .case-section-heading,
  .two-column-story,
  .outcome-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .tool-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 32px, var(--container));
  }

  .tool-card {
    min-height: 112px;
  }

  .trust-card {
    width: min(100% - 32px, var(--container));
    padding: 10px;
  }

  .trust-card article {
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
    padding: 24px;
  }

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

  .systems-grid,
  .artifact-grid,
  .architecture-grid,
  .prompt-library-grid,
  .dashboard-mockup {
    grid-template-columns: 1fr;
  }

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

  .system-card-large {
    min-height: auto;
  }

  .console-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .console-pipeline > div:not(:last-child)::after {
    display: none;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .console-panel {
    border-right: 0;
  }

  .console-table {
    grid-template-columns: 0.7fr 1.05fr 0.82fr 0.72fr 0.78fr;
    gap: 9px 8px;
    min-width: 0;
    white-space: normal;
  }

  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .schema-table {
    grid-template-columns: 1fr 1fr;
  }

  .schema-table span:nth-child(4n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .schema-table span:nth-child(2n) {
    border-right: 0;
  }

  .automation-map {
    grid-template-columns: 1fr;
  }

  .automation-map span:not(:last-child)::after {
    left: 20px;
    right: auto;
    top: auto;
    bottom: -18px;
    transform: rotate(90deg);
  }

  .cta-panel .button {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .container,
  .container-wide {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    font-size: 11px;
  }

  .hero-layout {
    width: min(100% - 28px, var(--container));
  }

  .trust-card {
    width: min(100% - 28px, var(--container));
  }

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

  .cred-row,
  .process-board,
  .tool-stack-grid {
    grid-template-columns: 1fr;
    width: min(100% - 28px, var(--container));
  }

  .proof-context {
    margin-top: -10px;
    margin-bottom: 30px;
    padding-left: 16px;
  }

  .systems-proof-context {
    margin: 0;
  }

  .system-console {
    max-width: 100%;
  }

  .console-topbar {
    padding: 16px;
    font-size: 11px;
  }

  .console-section-title,
  .system-console .panel-label {
    font-size: 11px;
  }

  .console-section-title {
    padding: 18px 16px 12px;
  }

  .console-pipeline {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 16px 20px;
  }

  .console-pipeline > div {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    min-height: auto;
    padding: 14px;
    text-align: left;
  }

  .console-pipeline svg {
    grid-row: 1 / span 2;
    width: 22px;
    height: 22px;
    margin: 0 4px 0 0;
  }

  .console-pipeline strong {
    font-size: 13px;
  }

  .console-pipeline span {
    font-size: 12px;
  }

  .database-panel {
    display: none;
  }

  .console-panel {
    min-height: auto;
    padding: 18px 16px;
  }

  .status-line,
  .prompt-list span,
  .report-preview span {
    font-size: 12px;
  }

  .status-line strong,
  .report-preview strong {
    font-size: 12px;
  }

  .process-row {
    grid-template-columns: 1fr;
  }

  .cred-row article {
    align-items: start;
  }

  .system-card-small {
    min-height: 180px;
  }

  .report-preview {
    grid-template-columns: 1fr;
  }

  .report-metrics {
    grid-template-columns: repeat(2, auto);
    border-left: 0;
    border-top: 1px solid var(--border-dark);
    padding: 16px 0 0;
  }

  .schema-table {
    grid-template-columns: 1fr;
  }

  .schema-table span,
  .schema-table span:nth-child(2n),
  .schema-table span:nth-child(4n) {
    border-right: 0;
  }

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

  .footer-brand,
  .footer-brand span:last-child,
  .footer-brand strong,
  .footer-brand em {
    min-width: 0;
    max-width: 100%;
  }

  .footer-brand em {
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .footer-inner nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
