@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/jakarta-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --fg: #0f172a;
  --fg-2: #334155;
  --muted: #475569;
  --subtle: #64748b;
  --border: #e2e8f0;
  --border-hover: #bfdbfe;
  --primary: #2563eb;
  --primary-700: #1d4ed8;
  --violet: #7c3aed;
  --accent: #ea580c;
  --ok: #15803d;
  --grad: linear-gradient(110deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);

  --font:
    'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05), 0 1px 3px rgb(15 23 42 / 0.07);
  --shadow-md: 0 12px 28px -12px rgb(15 23 42 / 0.16), 0 2px 6px rgb(15 23 42 / 0.05);
  --shadow-lg: 0 40px 80px -32px rgb(30 41 99 / 0.3), 0 12px 24px -12px rgb(15 23 42 / 0.1);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur: 280ms;

  --header-h: 78px;
  --max: 1200px;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

::selection {
  background: #dbeafe;
}

:focus-visible {
  outline: 3px solid rgb(37 99 235 / 0.55);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

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

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

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--fg);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

/* Header: transparent over the hero, a floating glass bar once the page scrolls. */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 8px 0;
  pointer-events: none;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--max) + 24px);
  height: 64px;
  margin-inline: auto;
  padding: 0 10px 0 12px;
  border: 1px solid transparent;
  border-radius: 20px;
  pointer-events: auto;
  transition:
    max-width 600ms var(--ease-out),
    background-color var(--dur) ease,
    border-color var(--dur) ease,
    box-shadow var(--dur) ease;
}

.is-scrolled .bar {
  max-width: 1040px;
  background: rgb(255 255 255 / 0.74);
  border-color: rgb(226 232 240 / 0.9);
  box-shadow: 0 14px 34px -16px rgb(15 23 42 / 0.22);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  filter: drop-shadow(0 4px 10px rgb(79 70 229 / 0.35));
}

.header-contact {
  display: flex;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.75);
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  transition:
    translate var(--dur-fast) var(--ease-out),
    background-color var(--dur) ease,
    border-color var(--dur) ease,
    box-shadow var(--dur) ease;
}

.pill .i {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.pill:hover {
  translate: 0 -1px;
  background: #fff;
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.pill:active {
  translate: 0;
}

.pill-mail {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
}

.pill-mail .i {
  color: #93c5fd;
}

.pill-mail:hover {
  background: #1e293b;
  border-color: #1e293b;
}

@media (max-width: 600px) {
  .site-header {
    padding-top: 10px;
  }

  .bar {
    height: 60px;
  }
}

@media (max-width: 460px) {
  .pill-mail {
    padding: 0;
  }

  .pill-mail .pill-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Entrance motion. Hero items rise on load in pure CSS; the rest rises as it scrolls in. */

.d0 {
  --d: 0;
}
.d1 {
  --d: 1;
}
.d2 {
  --d: 2;
}
.d3 {
  --d: 3;
}
.d4 {
  --d: 4;
}
.d5 {
  --d: 5;
}
.d6 {
  --d: 6;
}
.d7 {
  --d: 7;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rise,
.w {
  animation: rise 900ms var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

.reveal-ready .reveal,
.reveal-ready .stagger > * {
  opacity: 0;
}

.reveal-ready .reveal.is-visible,
.reveal-ready .stagger.is-visible > * {
  animation: rise 800ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

.stagger > :nth-child(2) {
  --i: 1;
}
.stagger > :nth-child(3) {
  --i: 2;
}
.stagger > :nth-child(4) {
  --i: 3;
}
.stagger > :nth-child(5) {
  --i: 4;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 64px) 0 112px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
}

.blob-a {
  top: -260px;
  left: -200px;
  background: radial-gradient(circle, rgb(37 99 235 / 0.26), transparent 62%);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.blob-b {
  top: -160px;
  right: -220px;
  background: radial-gradient(circle, rgb(124 58 237 / 0.22), transparent 62%);
  animation: drift-b 26s ease-in-out infinite alternate;
}

.blob-c {
  bottom: -340px;
  left: 34%;
  background: radial-gradient(circle, rgb(234 88 12 / 0.13), transparent 62%);
  animation: drift-c 30s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate3d(140px, 90px, 0) scale(1.1);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-160px, 130px, 0) scale(0.92);
  }
}

@keyframes drift-c {
  to {
    transform: translate3d(-120px, -70px, 0) scale(1.15);
  }
}

.dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(15 23 42 / 0.13) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 15%, transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 56px;
  }
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-sm);
  color: var(--fg-2);
  font-size: 0.875rem;
  font-weight: 600;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #22c55e;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: ping 2s var(--ease-out) infinite;
}

@keyframes ping {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

.hero-title {
  margin: 24px 0;
  font-size: clamp(2.75rem, 1.6rem + 4.4vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.w {
  display: inline-block;
}

.grad {
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    rise 900ms var(--ease-out) calc(var(--d) * 90ms + 80ms) both,
    shimmer 7s ease-in-out 1.2s infinite alternate;
}

@keyframes shimmer {
  to {
    background-position: 100% 0;
  }
}

.lead {
  max-width: 35em;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition:
    translate var(--dur-fast) var(--ease-out),
    box-shadow var(--dur) ease,
    background-color var(--dur) ease,
    border-color var(--dur) ease;
}

.btn:active {
  translate: 0;
}

@media (max-width: 480px) {
  .cta-row .btn {
    flex: 1 1 100%;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  box-shadow:
    0 12px 26px -12px rgb(37 99 235 / 0.7),
    inset 0 1px 0 rgb(255 255 255 / 0.22);
}

.btn-primary .i {
  transition: translate var(--dur) var(--ease-out);
}

.btn-primary:hover {
  translate: 0 -2px;
  box-shadow:
    0 18px 32px -14px rgb(37 99 235 / 0.8),
    inset 0 1px 0 rgb(255 255 255 / 0.22);
}

.btn-primary:hover .i {
  translate: 3px 0;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--fg-2);
  font-size: 0.9375rem;
  font-weight: 600;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust .i {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--ok);
  stroke-width: 3;
}

/* Hero visual: an agent run, drawn in SVG, its log stepping through in script.js. */

.hero-visual {
  position: relative;
}

.console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.9);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.74);
  box-shadow:
    0 0 0 1px rgb(15 23 42 / 0.06),
    var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgb(226 232 240 / 0.8);
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fca5a5;
}

.traffic span:nth-child(2) {
  background: #fcd34d;
}

.traffic span:nth-child(3) {
  background: #86efac;
}

.live {
  display: inline-flex;
  flex: none;
  margin-left: auto;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: var(--ok);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live .live-dot {
  width: 6px;
  height: 6px;
}

.tabs {
  position: relative;
  display: flex;
  min-width: 0;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgb(226 232 240 / 0.9);
  border-radius: 12px;
  background: rgb(241 245 249 / 0.85);
}

.tab-indicator {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: var(--tab-w, 0);
  border-radius: 9px;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.08),
    0 4px 10px -4px rgb(15 23 42 / 0.16);
  transform: translateX(var(--tab-x, 0));
  transition:
    transform 500ms var(--ease-out),
    width 500ms var(--ease-out);
}

.tab {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 6px 14px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--subtle);
  font: 600 0.8125rem/1.2 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur) ease;
}

.tab:hover,
.tab.is-active {
  color: var(--fg);
}

.tabs:not(.has-indicator) .tab.is-active {
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.08);
}

.tab-progress {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.tab.is-active.is-running .tab-progress {
  animation: tab-fill var(--run-ms, 10s) linear both;
}

.console.is-paused .tab-progress {
  animation-play-state: paused;
}

@keyframes tab-fill {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 480px) {
  .console-top {
    padding: 12px 14px;
  }

  .traffic {
    display: none;
  }
}

@media (max-width: 420px) {
  .live {
    display: none;
  }
}

/* Workflow pages share one grid cell: the next blurs in as the last blurs out, its tools pop in
   one by one and its wires draw themselves. */

.pages {
  display: grid;
}

.page {
  grid-area: 1 / 1;
  visibility: hidden;
}

.page.is-current,
.page.is-leaving {
  visibility: visible;
}

.page.is-leaving {
  pointer-events: none;
  animation: page-out 420ms var(--ease-out) both;
}

.page.is-entering {
  animation: page-in 700ms var(--ease-out) 120ms both;
}

@keyframes page-out {
  to {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(-10px) scale(0.985);
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(12px) scale(0.985);
  }
}

.page.is-entering .wire {
  stroke-dasharray: 220;
  animation: wire-draw 800ms var(--ease-out) 200ms both;
}

@keyframes wire-draw {
  from {
    stroke-dashoffset: 220;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.page.is-entering .node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-in 600ms var(--ease-spring) both;
}

.page.is-entering .node:nth-of-type(1) {
  animation-delay: 180ms;
}
.page.is-entering .node:nth-of-type(2) {
  animation-delay: 250ms;
}
.page.is-entering .node:nth-of-type(3) {
  animation-delay: 320ms;
}
.page.is-entering .node:nth-of-type(4) {
  animation-delay: 390ms;
}
.page.is-entering .node:nth-of-type(5) {
  animation-delay: 460ms;
}
.page.is-entering .node:nth-of-type(6) {
  animation-delay: 530ms;
}

@keyframes node-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
}

.diagram {
  display: block;
  width: 100%;
  height: auto;
  padding: 14px 10px 4px;
}

.wire {
  fill: none;
  stroke: #cbd5e1;
  stroke-width: 1.5;
}

.flow {
  fill: none;
  stroke: var(--primary);
  stroke-opacity: 0.55;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  animation: flow 1.2s linear infinite;
}

.flow-out {
  stroke: var(--violet);
  animation-direction: reverse;
}

@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}

.packet {
  fill: var(--primary);
}

.packet-out {
  fill: var(--violet);
}

.node rect {
  fill: #fff;
  stroke: var(--border);
  filter: drop-shadow(0 2px 4px rgb(15 23 42 / 0.06));
  transition:
    fill var(--dur) ease,
    stroke var(--dur) ease;
}

.node text {
  fill: var(--fg-2);
  font: 600 12px var(--font);
}

.node-dot {
  fill: #94a3b8;
  transition: fill var(--dur) ease;
}

.node.is-active rect {
  fill: #eff6ff;
  stroke: var(--primary);
}

.node.is-active .node-dot {
  fill: var(--primary);
}

.pulse {
  fill: none;
  stroke: #6366f1;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 2.8s var(--ease-out) infinite;
}

.pulse-late {
  animation-delay: 1.4s;
}

@keyframes ring {
  from {
    transform: scale(1);
    opacity: 0.55;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}

.agent-label {
  fill: var(--subtle);
  font: 600 12px var(--font);
  letter-spacing: 0.02em;
}

.agent-log {
  margin: 0;
  padding: 10px 20px 18px;
  border-top: 1px dashed var(--border);
  list-style: none;
  font-size: 0.8125rem;
}

.agent-log li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
}

.agent-log .what {
  overflow: hidden;
  min-width: 0;
  color: var(--fg-2);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-log .msg {
  overflow: hidden;
  flex: none;
  max-width: 45%;
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: #dcfce7;
}

.st::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 6.5px;
  width: 4px;
  height: 8px;
  border: solid #16a34a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.is-pending .st {
  background: #ffedd5;
}

.is-pending .st::after {
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  transform: none;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.log-anim .agent-log li {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 350ms var(--ease-out),
    transform 350ms var(--ease-out);
}

.log-anim .agent-log li.is-shown {
  opacity: 1;
  transform: none;
}

.log-anim .agent-log li.is-running .st {
  background: transparent;
  border: 2px solid #bfdbfe;
  border-top-color: var(--primary);
  animation: spin 700ms linear infinite;
}

.log-anim .agent-log li.is-running .st::after {
  display: none;
}

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

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgb(226 232 240 / 0.9);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.88);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.float-chip small {
  display: block;
  color: var(--subtle);
  font-size: 0.75rem;
  font-weight: 600;
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffedd5;
  color: var(--accent);
}

.chip-icon .i {
  width: 18px;
  height: 18px;
}

.chip-a {
  bottom: -28px;
  left: -36px;
}

.chip-b {
  top: -48px;
  right: -30px;
  animation-delay: -3s;
}

.chip-b .chip-icon {
  background: #ede9fe;
  color: var(--violet);
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {
  .float-chip {
    display: none;
  }
}

@media (min-width: 1181px) {
  .agent-log {
    padding-bottom: 40px;
  }
}

/* Sections */

.section {
  position: relative;
  padding: clamp(84px, 10vw, 136px) 0;
}

.section-alt {
  border-block: 1px solid var(--border);
  background: #fff;
}

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.eyebrow {
  color: var(--primary-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-lead {
  max-width: 36em;
  color: var(--muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

/* Services */

.cards {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    translate var(--dur) var(--ease-out),
    box-shadow var(--dur) ease,
    border-color var(--dur) ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    440px circle at var(--mx, 50%) var(--my, 0%),
    rgb(37 99 235 / 0.09),
    transparent 45%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) ease;
}

.card:hover {
  translate: 0 -4px;
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  color: var(--primary);
  transition: transform 450ms var(--ease-spring);
}

.card-icon .i {
  width: 26px;
  height: 26px;
  stroke-width: 1.75;
}

.card:hover .card-icon {
  transform: rotate(-6deg) scale(1.07);
}

.card-num {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.375rem;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--fg-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Process */

.steps {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 600;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 64px;
  bottom: -28px;
  left: 27px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--primary), #c7d2fe);
}

.step h3 {
  align-self: end;
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.step p {
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .step {
    display: block;
  }

  .step:not(:last-child)::before {
    content: none;
  }

  .step-num {
    margin-bottom: 24px;
  }

  .steps::before,
  .steps::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 27px;
    left: 28px;
    right: calc(25% - 52px);
    height: 2px;
    border-radius: 2px;
    background: var(--border);
  }

  .steps::after {
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: 0 50%;
  }

  .steps.is-visible::after {
    animation: grow 1400ms var(--ease-out) 200ms both;
  }

  html:not(.reveal-ready) .steps::after {
    transform: none;
  }
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.reveal-ready .stagger.is-visible > .step .step-num {
  animation: pop 600ms var(--ease-spring) both;
  animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}

@keyframes pop {
  from {
    transform: scale(0.6);
  }
  to {
    transform: none;
  }
}

/* Copy button (footer, on the dark panel) */

.copy {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.05);
  color: #cbd5e1;
  cursor: pointer;
  transition:
    color var(--dur-fast) ease,
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    scale var(--dur-fast) var(--ease-out);
}

.copy:hover {
  border-color: rgb(147 197 253 / 0.5);
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

.copy:active {
  scale: 0.94;
}

.copy .i {
  width: 18px;
  height: 18px;
}

.copy .i-check,
.copy.is-copied .i-copy {
  display: none;
}

.copy.is-copied .i-check {
  display: block;
}

.copy.is-copied {
  border-color: rgb(134 239 172 / 0.5);
  background: rgb(34 197 94 / 0.15);
  color: #86efac;
}

/* Footer: a full-width dark band closing the page, the company details and a large wordmark. */

.footer-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b1120;
  color: #cbd5e1;
}

.footer-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(147 197 253 / 0.6),
    rgb(196 181 253 / 0.6),
    transparent
  );
}

.footer-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px circle at 8% 0%, rgb(37 99 235 / 0.3), transparent 60%),
    radial-gradient(560px circle at 92% 8%, rgb(124 58 237 / 0.26), transparent 60%),
    radial-gradient(760px circle at 50% 115%, rgb(219 39 119 / 0.14), transparent 60%);
  pointer-events: none;
}

.footer-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 70%);
}

.footer-top {
  display: grid;
  gap: 40px;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.footer-brand .brand {
  color: #fff;
  font-size: 1.25rem;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-tagline {
  max-width: 24em;
  margin-top: 18px;
  color: #94a3b8;
  font-size: 1.0625rem;
}

.footer-mail {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .footer-mail {
    justify-items: end;
  }
}

.footer-label {
  margin: 0;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-mail-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  background: linear-gradient(90deg, #93c5fd, #c4b5fd, #f9a8d4) no-repeat 0 100% / 0 2px;
  color: #fff;
  font-size: clamp(1.125rem, 0.6rem + 2.2vw, 2.25rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-size 500ms var(--ease-out);
}

.footer-email:hover {
  background-size: 100% 2px;
}

.footer-email .i {
  width: 0.85em;
  height: 0.85em;
  color: #93c5fd;
  transition: translate var(--dur) var(--ease-out);
}

.footer-email:hover .i {
  translate: 4px 0;
}

.footer-heading {
  margin-top: clamp(40px, 6vw, 56px);
  margin-bottom: 8px;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
}

.footer-details > div {
  position: relative;
  padding: 20px 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.footer-details > div::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.footer-details > :first-child,
.footer-details > :nth-child(4),
.footer-details > :nth-child(5) {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-details > :first-child,
  .footer-details > :nth-child(4) {
    grid-column: auto;
  }
}

@media (min-width: 1100px) {
  .footer-details {
    grid-template-columns:
      minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.4fr)
      minmax(0, 1.6fr);
  }

  .footer-details > :nth-child(5) {
    grid-column: auto;
  }
}

.footer-details dt {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-details dd {
  margin: 6px 0 0;
  color: #f1f5f9;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-wordmark {
  display: flex;
  justify-content: center;
  margin: clamp(16px, 3vw, 32px) 0 -0.1em;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.02) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(4rem, 17vw, 16.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .blob {
    will-change: auto;
  }
}
