:root {
  color-scheme: dark;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  color: #f1f1ee;
  background: #090a0c;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #85868b;
  --acid: #c4f36b;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    #090a0c;
  background-size: 72px 72px;
}

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

a:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100% - 112px, 1440px);
  min-height: 100vh;
  margin-inline: auto;
  flex-direction: column;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  height: 110px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 210px;
  height: auto;
}

.header-note,
.eyebrow,
.site-footer,
.code-line,
.legal-kicker {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.header-note {
  color: #9b9ca0;
  font-size: 10px;
  letter-spacing: .09em;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(196, 243, 107, .7);
}

.hero {
  position: relative;
  display: flex;
  min-height: 560px;
  flex: 1;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 0 68px;
}

.eyebrow {
  margin: 0 0 32px;
  color: #a0a1a5;
  font-size: 10px;
  letter-spacing: .12em;
}

.eyebrow span {
  margin-right: 14px;
  color: var(--acid);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8.15vw, 116px);
  font-weight: 600;
  letter-spacing: -.085em;
  line-height: .99;
}

h1 span {
  color: #a7df5a;
}

h1 b {
  color: var(--acid);
}

.hero-tagline {
  margin: 38px 0 0;
  color: #d7d8d3;
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.65;
}

.hero-tagline span {
  color: #a0a1a5;
}

.code-muted {
  color: #777981;
}

.code-green {
  color: var(--acid);
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: 3%;
  width: clamp(350px, 35vw, 500px);
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 55px rgba(139, 190, 61, .08));
}

.workflow-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: #101213;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 22px 80px rgba(0, 0, 0, .32);
  transform: perspective(1100px) rotateY(-5deg) rotateX(1.5deg);
}

.workflow-header,
.workflow-footer {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 13px;
  color: #898d8e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 8px;
  letter-spacing: .04em;
}

.workflow-header {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

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

.agent-window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55595a;
}

.agent-window-dots i:first-child {
  background: #9d655d;
}

.agent-live {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: var(--acid);
  font-size: 8px;
}

.agent-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px rgba(196, 243, 107, .8);
}

.workflow-canvas {
  position: relative;
  height: 220px;
  background-image: radial-gradient(rgba(255, 255, 255, .17) .7px, transparent .7px);
  background-position: 8px 8px;
  background-size: 17px 17px;
}

.workflow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.workflow-lines path {
  fill: none;
  stroke: rgba(196, 243, 107, .52);
  stroke-width: 1.3;
}

.workflow-lines circle {
  fill: var(--acid);
  stroke: #101213;
  stroke-width: 2;
}

.workflow-node {
  position: absolute;
  display: flex;
  width: 26%;
  min-height: 58px;
  align-items: center;
  gap: 7px;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: linear-gradient(145deg, #222625, #191c1c);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
}

.node-trigger {
  top: 76px;
  left: 1%;
}

.node-agent {
  top: 76px;
  left: 34.4%;
  width: 30%;
  border-color: rgba(220, 117, 83, .45);
}

.node-crm,
.node-mail {
  left: 72.5%;
}

.node-crm {
  top: 29px;
}

.node-mail {
  top: 124px;
}

.node-icon {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 5px;
  font-size: 13px;
}

.trigger-icon {
  background: rgba(196, 243, 107, .13);
  color: var(--acid);
}

.ai-icon {
  background: rgba(220, 117, 83, .16);
  color: #ed9879;
}

.crm-icon {
  background: rgba(103, 157, 220, .16);
  color: #85b7f3;
}

.mail-icon {
  background: rgba(198, 162, 94, .16);
  color: #dfbd76;
}

.node-label {
  min-width: 0;
  overflow: hidden;
  color: #e0e2de;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-label small {
  display: block;
  margin-top: 4px;
  color: #888d8b;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0;
}

.node-port {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid #848b86;
  border-radius: 50%;
  background: #191c1c;
  transform: translateY(-50%);
}

.node-port:first-child {
  right: auto;
  left: -4px;
}

.node-model {
  top: 164px;
  left: 37%;
  width: 26%;
  min-height: 46px;
}

.node-model .node-port {
  top: -4px;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.node-model-port {
  top: auto;
  right: auto;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.model-icon {
  background: rgba(196, 243, 107, .13);
  color: var(--acid);
}

.workflow-footer {
  min-height: 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 7px;
}

.workflow-footer span:last-child {
  color: var(--acid);
}

.workflow-footer span:last-child i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 7px rgba(196, 243, 107, .65);
}

.site-footer {
  min-height: 88px;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .015em;
}

.site-footer nav {
  display: flex;
  gap: 28px;
}

.site-footer a {
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--acid);
}

.email-link {
  color: #d4d4d0;
}

.email-link span {
  padding-left: 5px;
  color: var(--acid);
}

.ambient-glow {
  position: fixed;
  z-index: 0;
  top: 28%;
  right: -14%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: rgba(146, 193, 65, .045);
  filter: blur(110px);
  pointer-events: none;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 92px 0 110px;
}

.legal-kicker {
  margin: 0 0 22px;
  color: var(--acid);
  font-size: 11px;
  letter-spacing: .08em;
}

.legal-main h1 {
  margin-bottom: 56px;
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -.07em;
}

.legal-main h2 {
  margin: 42px 0 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.legal-main p,
.legal-main address {
  color: #a7a8ac;
  font-size: 14px;
  font-style: normal;
  line-height: 1.85;
}

.legal-main a {
  color: var(--acid);
  text-underline-offset: 4px;
}

.legal-page .site-header,
.legal-page .site-footer {
  width: min(100% - 112px, 1440px);
  margin-inline: auto;
}

.back-link {
  display: inline-block;
  margin-top: 58px;
  color: #d4d4d0 !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

@media (max-width: 760px) {
  .site-shell {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 82px;
  }

  .brand-logo {
    width: 176px;
  }

  .header-note {
    font-size: 8px;
  }

  .hero {
    min-height: 680px;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 112px;
  }

  .eyebrow {
    margin-bottom: 25px;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(48px, 11.8vw, 82px);
  }

  .hero-tagline {
    margin-top: 28px;
    font-size: 15px;
  }

  .hero-mark {
    top: auto;
    right: 0;
    bottom: 20px;
    width: 100%;
    transform: none;
  }

  .workflow-card {
    transform: none;
  }

  .workflow-canvas {
    height: 190px;
  }

  .workflow-node {
    min-height: 52px;
    gap: 4px;
    padding: 6px 4px;
  }

  .node-icon {
    flex-basis: 20px;
    width: 20px;
    font-size: 11px;
  }

  .node-label {
    font-size: 8px;
  }

  .node-label small {
    font-size: 6px;
  }

  .node-trigger,
  .node-agent {
    top: 69px;
  }

  .node-crm {
    top: 25px;
  }

  .node-mail {
    top: 112px;
  }

  .node-model {
    top: 137px;
  }

  .site-footer {
    min-height: 110px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 0;
    font-size: 9px;
  }

  .site-footer nav {
    gap: 18px;
  }

  .site-footer .email-link {
    width: 100%;
  }

  .legal-page .site-header,
  .legal-page .site-footer {
    width: calc(100% - 40px);
  }

  .legal-main {
    width: calc(100% - 40px);
    padding: 64px 0 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
