:root {
  --bg: hsl(225 45% 98%);
  --bg-2: hsl(220 100% 99%);
  --surface: hsl(0 0% 100%);
  --surface-2: hsl(224 48% 96%);
  --text: hsl(229 22% 10%);
  --text-2: hsl(226 15% 40%);
  --text-3: hsl(226 12% 52%);
  --border: hsl(233 33% 11% / 0.11);
  --border-strong: hsl(233 33% 11% / 0.18);
  --primary: hsl(235 72% 61%);
  --primary-hover: hsl(235 62% 55%);
  --primary-soft: hsl(235 72% 61% / 0.1);
  --primary-line: hsl(235 72% 61% / 0.3);
  --on-primary: white;
  --success: hsl(154 79% 28%);
  --success-soft: hsl(154 79% 28% / 0.12);
  --warning: hsl(35 72% 36%);
  --warning-soft: hsl(35 72% 36% / 0.12);
  --danger: hsl(357 68% 50%);
  --danger-soft: hsl(357 68% 50% / 0.12);
  --info: hsl(213 76% 45%);
  --info-soft: hsl(213 76% 45% / 0.12);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --rail: 1180px;
  --radius-sm: 8px;
  --radius-md: 15px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(65, 72, 104, 0.1);
  --shadow: 0 10px 30px rgba(65, 72, 104, 0.12), 0 34px 80px rgba(85, 98, 227, 0.13);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 12%, hsl(235 72% 61% / 0.12), transparent 30rem),
    radial-gradient(circle at 12% 48%, hsl(213 76% 45% / 0.055), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

img,
svg,
canvas {
  display: block;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

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

:focus-visible {
  outline: 3px solid hsl(235 72% 61% / 0.46);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
}

.rail {
  width: min(calc(100% - 64px), var(--rail));
  margin-inline: auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: hsl(225 45% 98% / 0.78);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-nav[data-scrolled="true"] {
  border-color: var(--border);
  background: hsl(225 45% 98% / 0.93);
  box-shadow: 0 8px 26px rgba(65, 72, 104, 0.06);
}

.nav-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

.brand-orb {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
  font-weight: 650;
}

.nav-links > a:not(.button) {
  color: var(--text-2);
  text-decoration: none;
}

.nav-links > a:not(.button):hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 20px hsl(235 72% 61% / 0.18);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms var(--ease-out);
}

.button:hover {
  background: var(--primary-hover);
  box-shadow: 0 12px 28px hsl(235 72% 61% / 0.25);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 160ms var(--ease-out);
}

.button:hover svg {
  transform: translateX(3px);
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  background: var(--surface-2);
  box-shadow: 0 8px 18px rgba(65, 72, 104, 0.12);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - 76px);
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  padding-block: 64px 86px;
}

.hero::before {
  position: absolute;
  top: 12%;
  right: 4%;
  z-index: -2;
  width: min(45vw, 540px);
  aspect-ratio: 1;
  border: 1px solid var(--primary-line);
  border-radius: 50%;
  background: var(--primary-soft);
  content: "";
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 8%;
  z-index: -3;
  width: 48%;
  height: 46%;
  border-radius: 48% 52% 45% 55%;
  background: hsl(235 72% 61% / 0.055);
  content: "";
  filter: blur(4px);
  transform: rotate(3deg);
}

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

.kicker {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

.hero h1 {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: clamp(3.3rem, 5.5vw, 5.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}

.hero-lead {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--text-2);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

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

.hero-actions .button {
  min-height: 54px;
  padding-inline: 26px;
}

.agent-scene {
  position: relative;
  min-width: 0;
  animation: desk-arrive 850ms var(--ease-out) both;
}

.agent-scene::before {
  position: absolute;
  inset: 24% -5% -7% 11%;
  z-index: -1;
  border-radius: 28px;
  background: hsl(235 72% 61% / 0.1);
  content: "";
  transform: rotate(2.4deg);
}

.agent-desk {
  --primary: hsl(234 100% 70%);
  overflow: hidden;
  min-height: 420px;
  border-radius: 26px;
  background: hsl(221 40% 10%);
  color: hsl(232 50% 97%);
  box-shadow: 0 20px 46px rgba(18, 22, 44, 0.22), 0 42px 94px rgba(61, 74, 174, 0.2);
}

.desk-header {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-bottom: 1px solid hsl(0 0% 100% / 0.11);
}

.desk-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.desk-orb {
  display: grid;
  width: 68px;
  height: 68px;
  flex: none;
  place-items: center;
}

.desk-label {
  margin: 0 0 2px;
  color: hsl(234 100% 70%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desk-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.desk-header h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.live-chip,
.queue-state,
.handled-status,
.decision-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.live-chip {
  min-height: 36px;
  padding-inline: 14px;
  border: 1px solid hsl(152 66% 55% / 0.55);
  background: hsl(152 66% 55% / 0.12);
  color: hsl(152 66% 62%);
}

.live-chip::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px hsl(152 66% 55% / 0.1);
  content: "";
  animation: live-pulse 1.8s ease-in-out infinite;
}

.desk-body {
  min-height: 224px;
}

.queue-header {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px 10px;
}

.queue-header h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.89rem;
  letter-spacing: 0;
}

.queue-state {
  min-height: 30px;
  padding-inline: 12px;
  background: hsl(36 83% 65% / 0.12);
  color: hsl(36 83% 68%);
}

.queue-state[data-state="approved"] {
  background: hsl(152 66% 55% / 0.14);
  color: hsl(152 66% 62%);
}

.queue-state[data-state="denied"] {
  background: hsl(356 100% 69% / 0.12);
  color: hsl(356 100% 72%);
}

.activity-row {
  display: grid;
  min-height: 148px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 28px 28px;
}

.activity-row[data-transition="out"] {
  animation: activity-out 210ms cubic-bezier(0.55, 0, 1, 0.45) both;
}

.activity-row[data-transition="in"] {
  animation: activity-in 460ms var(--ease-out) both;
}

.activity-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid hsl(36 83% 65% / 0.35);
  border-radius: var(--radius-md);
  background: hsl(36 83% 65% / 0.1);
  color: hsl(36 83% 68%);
}

.activity-icon[data-kind="handled"],
.activity-icon[data-kind="approved"] {
  border-color: hsl(152 66% 55% / 0.35);
  background: hsl(152 66% 55% / 0.12);
  color: hsl(152 66% 62%);
}

.activity-icon[data-kind="denied"] {
  border-color: hsl(356 100% 69% / 0.4);
  background: hsl(356 100% 69% / 0.1);
  color: hsl(356 100% 72%);
}

.activity-icon svg {
  width: 23px;
  height: 23px;
}

.activity-copy {
  min-width: 0;
}

.activity-copy h4 {
  margin: 0;
  font-size: 1.03rem;
  letter-spacing: -0.015em;
}

.activity-copy p {
  margin: 7px 0 0;
  color: hsl(229 20% 74%);
  font-size: 0.84rem;
  line-height: 1.5;
}

.decision-actions {
  display: flex;
  gap: 9px;
}

.decision-button,
.decision-result {
  min-height: 43px;
  padding-inline: 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.decision-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
  transition:
    filter 150ms ease,
    transform 150ms var(--ease-out);
}

.decision-button:hover {
  filter: brightness(1.09);
  transform: translateY(-2px);
}

.decision-button:active {
  transform: translateY(0) scale(0.98);
}

.decision-deny {
  border: 1px solid hsl(356 100% 69% / 0.56);
  background: hsl(356 100% 69% / 0.1);
  color: hsl(356 100% 72%);
}

.decision-approve {
  border: 1px solid hsl(152 66% 55%);
  background: hsl(152 66% 55%);
  color: hsl(221 40% 10%);
}

.decision-result {
  border: 1px solid hsl(152 66% 55% / 0.5);
  background: hsl(152 66% 55% / 0.14);
  color: hsl(152 66% 62%);
}

.decision-result[data-state="denied"] {
  border-color: hsl(356 100% 69% / 0.5);
  background: hsl(356 100% 69% / 0.11);
  color: hsl(356 100% 72%);
}

.decision-result small {
  opacity: 0.8;
}

.handled-status {
  min-height: 36px;
  padding-inline: 13px;
  background: hsl(152 66% 55% / 0.14);
  color: hsl(152 66% 62%);
}

.desk-footer {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  border-top: 1px solid hsl(0 0% 100% / 0.11);
  color: hsl(229 20% 74%);
  font-size: 0.76rem;
}

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

.desk-footer svg {
  width: 17px;
  height: 17px;
}

.section {
  padding-block: 112px;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 4.7vw, 4.65rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1;
  text-wrap: balance;
}

.section-heading p:not(.kicker) {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 1rem;
}

.outcomes-shell {
  overflow: hidden;
  contain: layout paint;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.outcomes-viewport {
  overflow: clip;
  contain: layout paint;
}

.outcomes-track {
  display: grid;
  grid-template-columns: repeat(var(--visible-count), minmax(0, 1fr));
  backface-visibility: hidden;
}

.outcomes-track[data-transition="out"] {
  animation: outcome-group-out 190ms cubic-bezier(0.55, 0, 1, 0.45) both;
}

.outcomes-track[data-transition="in"] {
  animation: outcome-group-in 520ms var(--ease-out) both;
}

.outcome-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
}

.outcome-card[data-position="middle"],
.outcome-card[data-position="last"] {
  border-left: 1px solid var(--border-strong);
}

.outcome-top {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.signal {
  display: flex;
  height: 25px;
  align-items: flex-end;
  gap: 4px;
}

.signal i {
  width: 5px;
  border-radius: var(--radius-full);
  background: var(--primary);
  transform-origin: bottom;
}

.signal i:nth-child(1) {
  height: 38%;
}

.signal i:nth-child(2) {
  height: 66%;
}

.signal i:nth-child(3) {
  height: 100%;
}

.outcome-card h3 {
  min-height: 2.5em;
  margin: 30px 0 18px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.outcome-context {
  min-height: 9.3em;
  margin: 0;
  color: var(--text-2);
  line-height: 1.65;
}

.outcome-result {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcome-result strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.outcome-result span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.outcome-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.outcome-details li {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-right: 14px;
}

.outcome-details li + li {
  padding-right: 0;
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.outcome-details strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.outcome-details span {
  color: var(--text-2);
  font-size: 0.77rem;
  line-height: 1.45;
}

.outcome-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-top: 1px solid var(--border-strong);
}

.outcome-status {
  display: flex;
  align-items: center;
  gap: 14px;
}

.motion-toggle {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.motion-toggle:hover {
  border-color: var(--primary-line);
  color: var(--primary);
}

.motion-toggle[aria-pressed="true"] {
  background: var(--primary-soft);
  color: var(--primary);
}

.motion-toggle:disabled {
  cursor: default;
  opacity: 0.72;
}

.motion-toggle svg {
  width: 12px;
  height: 12px;
}

.motion-toggle-dark {
  border-color: hsl(0 0% 100% / 0.16);
  background: hsl(0 0% 100% / 0.06);
  color: hsl(229 20% 79%);
}

.motion-toggle-dark:hover,
.motion-toggle-dark[aria-pressed="true"] {
  border-color: hsl(235 72% 70% / 0.55);
  background: hsl(235 72% 61% / 0.15);
  color: hsl(235 90% 78%);
}

.carousel-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms var(--ease-out);
}

.carousel-button:hover {
  border-color: var(--primary-line);
  color: var(--primary);
  transform: translateY(-2px);
}

.carousel-button svg {
  width: 19px;
  height: 19px;
}

.outcome-count {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.steps {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  list-style: none;
}

.step {
  --step-color: var(--primary);
  --step-soft: var(--primary-soft);
  min-width: 0;
  padding: 30px;
}

.step:nth-child(2) {
  --step-color: var(--info);
  --step-soft: var(--info-soft);
}

.step:nth-child(3) {
  --step-color: var(--success);
  --step-soft: var(--success-soft);
}

.step + .step {
  border-left: 1px solid var(--border-strong);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step-number {
  color: var(--step-color);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid color-mix(in oklab, var(--step-color) 30%, transparent);
  border-radius: var(--radius-md);
  background: var(--step-soft);
  color: var(--step-color);
}

.step-icon svg {
  width: 23px;
  height: 23px;
}

.step h3 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: var(--text-2);
}

.safeguards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.safeguard {
  display: flex;
  min-height: 116px;
  align-items: center;
  gap: 13px;
  padding: 22px;
}

.safeguard + .safeguard {
  border-left: 1px solid var(--border);
}

.safeguard-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: none;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
}

.safeguard:nth-child(2) .safeguard-icon {
  background: var(--info-soft);
  color: var(--info);
}

.safeguard:nth-child(3) .safeguard-icon {
  background: var(--success-soft);
  color: var(--success);
}

.safeguard:nth-child(4) .safeguard-icon {
  background: var(--warning-soft);
  color: var(--warning);
}

.safeguard-icon svg {
  width: 21px;
  height: 21px;
}

.safeguard span:last-child {
  display: grid;
  gap: 3px;
}

.safeguard strong {
  font-size: 0.84rem;
  line-height: 1.3;
}

.safeguard small {
  color: var(--text-2);
  font-size: 0.73rem;
  line-height: 1.4;
}

.contact-section {
  position: relative;
  isolation: isolate;
  padding-block: 112px;
  border-top: 1px solid var(--border);
}

.contact-section::before {
  position: absolute;
  inset: 8% 0 auto 50%;
  z-index: -1;
  width: min(48vw, 650px);
  height: 420px;
  border-radius: 50%;
  background: hsl(235 72% 61% / 0.1);
  content: "";
  filter: blur(50px);
  transform: translateX(-15%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 116px;
}

.contact-copy h2 {
  max-width: 560px;
  margin: 16px 0 0;
  font-size: clamp(2.65rem, 4.6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.contact-copy > p:not(.kicker) {
  max-width: 490px;
  margin: 24px 0 0;
  color: var(--text-2);
  font-size: 1rem;
}

.response-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--text);
  font-weight: 700;
}

.response-promise span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.response-promise svg {
  width: 20px;
  height: 20px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide,
.form-status,
.form-footer {
  grid-column: 1 / -1;
}

.field label,
.revenue-field legend {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--text);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.field input {
  min-height: 48px;
  padding: 11px 13px;
}

.field textarea {
  min-height: 126px;
  padding: 13px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--primary-line);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px hsl(235 72% 61% / 0.12);
  outline: none;
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.field-error {
  min-height: 1.1em;
  margin: 0;
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 650;
}

.revenue-field {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.revenue-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.revenue-option {
  position: relative;
}

.revenue-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.revenue-option label {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding-inline: 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.revenue-option input:checked + label {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.revenue-option input:focus-visible + label {
  outline: 3px solid hsl(235 72% 61% / 0.4);
  outline-offset: 2px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
}

.form-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.74rem;
}

.form-note svg {
  width: 17px;
  height: 17px;
  color: var(--success);
}

.contact-form .button {
  min-width: 158px;
}

.contact-form .button[disabled] {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.form-status {
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
}

.form-status[data-visible="true"] {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid hsl(154 79% 28% / 0.28);
  background: var(--success-soft);
}

.form-status[data-kind="error"] {
  border-color: hsl(357 68% 50% / 0.3);
  background: var(--danger-soft);
}

.form-status a {
  font-weight: 750;
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 32px;
  color: var(--text-2);
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-links a {
  color: var(--text-2);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

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

html[data-motion="ready"] .reveal {
  opacity: 1;
  transform: translateY(18px);
}

html[data-motion="ready"] .reveal[data-visible="true"] {
  animation: reveal 700ms var(--ease-out) both;
}

@keyframes desk-arrive {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.975);
  }
}

@keyframes activity-in {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(12px);
  }
}

@keyframes activity-out {
  to {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(-8px);
  }
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 hsl(152 66% 55% / 0.2);
  }
  50% {
    box-shadow: 0 0 0 5px transparent;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes outcome-group-out {
  to {
    opacity: 0;
    filter: blur(4px);
    transform: translateX(-10px);
  }
}

@keyframes outcome-group-in {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

@media (max-width: 1000px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 80px 104px;
  }

  .hero-copy,
  .agent-scene {
    max-width: 760px;
  }

  .outcomes-track {
    --visible-count: 1 !important;
  }

  .outcome-context,
  .outcome-card h3 {
    min-height: 0;
  }

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

  .step + .step {
    border-top: 1px solid var(--border-strong);
    border-left: 0;
  }

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

  .safeguard:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .safeguard:nth-child(4) {
    border-top: 1px solid var(--border);
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .rail {
    width: min(calc(100% - 32px), var(--rail));
  }

  .nav-inner {
    min-height: 68px;
  }

  .nav-hide-mobile {
    display: none;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links .button {
    min-height: 42px;
    padding-inline: 15px;
  }

  .hero {
    gap: 50px;
    padding-block: 62px 80px;
  }

  .hero::before,
  .hero::after,
  .agent-scene::before {
    display: none;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .agent-desk {
    min-height: 520px;
  }

  .desk-header {
    min-height: 160px;
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }

  .desk-status {
    width: 100%;
    justify-content: space-between;
  }

  .desk-orb {
    width: 54px;
    height: 54px;
  }

  .queue-header {
    padding-inline: 20px;
  }

  .activity-row {
    min-height: 250px;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    padding: 14px 20px 28px;
  }

  .decision-actions,
  .decision-result,
  .handled-status {
    grid-column: 2;
    justify-self: start;
  }

  .desk-footer {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-inline: 20px;
  }

  .section,
  .contact-section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .outcome-card {
    padding: 24px 20px;
  }

  .outcome-status {
    gap: 9px;
  }

  .motion-toggle {
    padding-inline: 9px;
  }

  .outcome-details {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .outcome-details li + li {
    padding-top: 15px;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .step {
    padding: 26px 22px;
  }

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

  .safeguard + .safeguard,
  .safeguard:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .field {
    grid-column: 1 / -1;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    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;
  }

  .outcomes-track,
  .activity-row {
    filter: none !important;
  }
}
