:root {
  color-scheme: dark;
  --bg: #0c0d12;
  --surface: #12141c;
  --surface-raised: #171923;
  --line: #292b38;
  --text: #f1f2f7;
  --muted: #b0b3c1;
  --quiet: #9296a7;
  --purple: #a99cff;
  --purple-strong: #7766f6;
  --green: #71d5a8;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 77% 8%, rgb(89 73 191 / 12%), transparent 37rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #c7bcff; outline-offset: 4px; border-radius: 3px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--purple);
  border-radius: 6px;
  background: #1b1b28;
  color: var(--text);
}
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 82px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid rgb(255 255 255 / 6%); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; font-weight: 750; letter-spacing: -.7px; }
.brand-mark { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; border-radius: 9px; background: linear-gradient(145deg, #8e7eff, #5947ce); box-shadow: 0 6px 24px rgb(111 90 245 / 28%); }
.brand-mark span { width: 3px; border-radius: 2px; background: white; }
.brand-mark span:nth-child(1) { height: 9px; opacity: .7; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 11px; opacity: .85; }
.main-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.main-nav a, .footer-link { color: var(--muted); text-decoration: none; font-size: 13px; }
.main-nav a:hover, .footer-link:hover { color: var(--text); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 650; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 39px; padding-inline: 13px; font-size: 12px; }
.button-primary { background: linear-gradient(135deg, #6b58e5, #6552dc); box-shadow: 0 9px 32px rgb(89 70 220 / 22%); color: white; }
.button-primary:hover { background: linear-gradient(135deg, #7160ed, #6b58e5); }
.button-outline { border-color: #393b4b; background: rgb(255 255 255 / 2%); color: var(--text); }
.button-outline:hover { border-color: #625b9b; background: rgb(165 151 255 / 7%); }
.button-feedback { margin-top: 14px; border-color: #7164d8; background: rgb(121 101 239 / 12%); color: #e4dfff; }
.button-feedback:hover { background: rgb(121 101 239 / 20%); }

.hero { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 40px; padding-block: 82px 100px; }
.hero-copy { max-width: 620px; padding-block: 0; }
.eyebrow { margin: 0 0 15px; color: var(--purple); font: 600 11px/1.4 var(--mono); letter-spacing: .12em; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 15px rgb(169 156 255 / 75%); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 630px; margin-bottom: 22px; font-size: clamp(2.7rem, 3.8vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 680; }
h1 span, .closing-section h2 span { color: var(--purple); }
.hero-lede { max-width: 555px; margin-bottom: 27px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.text-link { color: var(--muted); text-decoration: none; font-size: 13px; }
.text-link:hover { color: var(--text); }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 33px; color: var(--quiet); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgb(113 213 168 / 42%); }
.note-divider { color: #55596a; }

.hero-workflow { min-width: 0; margin: 0; }
.hero-workflow-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.hero-workflow-heading .eyebrow { margin-bottom: 5px; }
.hero-workflow-hint { margin: 0; color: var(--muted); font-size: 13px; }
.hero-workflow-count { padding-bottom: 2px; color: var(--quiet); font: 11px/1.4 var(--mono); white-space: nowrap; }
.hero-workflow-count span { padding-inline: 5px; color: var(--purple); }
.hero-workflow figcaption { max-width: 800px; margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.run-card-header i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgb(113 213 168 / 40%); }

.section { padding-block: 90px; }
.section-heading { max-width: 660px; margin-bottom: 39px; }
.section-heading h2, .transparency h2, .beta-copy h2, .closing-section h2 { margin-bottom: 13px; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.section-heading>p:last-child, .section-heading-row>p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-card { min-height: 190px; padding: 26px 28px 28px 0; }
.step-card + .step-card { padding-left: 29px; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 24px; color: var(--purple); font: 600 11px/1 var(--mono); }
.step-card h3, .capability-card h3 { margin-bottom: 9px; font-size: 16px; letter-spacing: -.025em; }
.step-card p, .capability-card p { max-width: 310px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.section-capabilities { border-block: 1px solid #20222d; background: linear-gradient(180deg, rgb(21 22 31 / 42%), rgb(16 17 23 / 52%)); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; max-width: none; }
.section-heading-row>p { max-width: 360px; padding-bottom: 7px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.capability-card { min-height: 188px; padding: 22px; border: 1px solid #2e303d; border-radius: 10px; background: linear-gradient(145deg, rgb(24 26 36 / 90%), rgb(18 19 27 / 85%)); }
.capability-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid currentColor; border-radius: 9px; font: 600 15px/1 var(--mono); }
.icon-purple { color: #b1a5ff; background: rgb(121 101 239 / 11%); }
.icon-blue { color: #84bcf4; background: rgb(83 147 218 / 10%); }
.icon-amber { color: #e0bd79; background: rgb(194 145 52 / 10%); }
.icon-green { color: #7ed4ac; background: rgb(69 164 117 / 9%); }
.icon-rose { color: #e49bb2; background: rgb(194 93 128 / 9%); }
.capability-card h3 { font-size: 14px; }
.capability-card p { font-size: 12px; }

.transparency { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 78px; padding-block: 104px; }
.transparency-copy>p:not(.eyebrow) { max-width: 510px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.detail-list, .beta-facts { display: grid; gap: 11px; margin: 25px 0 0; padding: 0; list-style: none; color: #d1d2dc; font-size: 13px; }
.detail-list li { display: flex; align-items: center; gap: 10px; }
.detail-list li span { color: var(--green); font-size: 14px; }
.run-card { overflow: hidden; border: 1px solid #343644; border-radius: 12px; background: #14161e; box-shadow: 0 25px 70px rgb(0 0 0 / 25%); }
.run-card-header, .run-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 19px; border-bottom: 1px solid #2a2c37; }
.run-card-header>span:first-child { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.run-success { color: #89dcb5; font: 600 9px/1 var(--mono); letter-spacing: .08em; }
.run-card-body { padding: 20px 19px 17px; }
.run-label { margin-bottom: 8px; color: #9c9fb0; font: 600 9px/1.3 var(--mono); letter-spacing: .1em; }
.run-card pre { overflow-x: auto; margin: 0 0 20px; padding: 13px; border: 1px solid #292b37; border-radius: 7px; background: #0e1016; color: #d3d2e2; font: 11px/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.run-card pre code { color: inherit; font: inherit; }
.run-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--quiet); font-size: 11px; }
.run-meta strong { color: #d2d3dc; font-weight: 550; }
.run-card-footer { border-top: 1px solid #2a2c37; border-bottom: 0; color: #a4a7b5; font-size: 10px; }

.beta-section { border-block: 1px solid #313044; background: radial-gradient(ellipse at 14% 48%, rgb(111 86 218 / 11%), transparent 55%), #12131b; }
.beta-inner { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 22px; padding-block: 57px; }
.beta-mark { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #5b4e9f; border-radius: 50%; color: #c0b5ff; font-family: Georgia, serif; font-size: 20px; }
.beta-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.beta-copy>p:not(.eyebrow) { max-width: 820px; margin-bottom: 15px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.beta-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; max-width: 900px; margin-top: 18px; color: #b9bbc8; font-size: 12px; }
.beta-facts li { position: relative; padding-left: 15px; }
.beta-facts li::before { position: absolute; top: .63em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #aa9aff; content: ""; }

.roadmap-section { border-block: 1px solid #29263b; background: radial-gradient(ellipse at 82% 50%, rgb(111 86 218 / 10%), transparent 45%), #101118; }
.roadmap-inner { max-width: 900px; }
.roadmap-copy h2 { margin-bottom: 17px; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.roadmap-copy>p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.75; }
.roadmap-note { margin-top: 20px; padding-left: 14px; border-left: 2px solid #8e7ef0; }
.roadmap-note strong { color: #ddd7ff; font-weight: 650; }
.demo-section { padding-block: 18px 10px; }
.demo-canvas { position: relative; width: min(1160px, calc(100% - 48px)); margin-inline: auto; overflow: hidden; background: #0d0e12; }
.hero-demo-canvas, .hero-demo-canvas .demo-canvas-viewport { background: transparent; }
.hero-demo-canvas { width: 100%; }
.demo-canvas-viewport { overflow: auto; background: #0d0e12; scrollbar-color: #444650 #0d0e12; }
.demo-canvas-viewport:focus-visible { outline: 2px solid #7671ff; outline-offset: -2px; }
.demo-board { position: relative; width: 100%; min-width: 790px; height: 330px; overflow: hidden; }
.hero-demo-board { min-width: 0; height: 370px; }
.demo-wires { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.demo-wire { fill: none; stroke: #6265f6; stroke-width: 1.6; stroke-dasharray: 5; stroke-linecap: round; animation: demo-wire-flow .5s linear infinite; pointer-events: none; }
.demo-wire-hit { fill: none; stroke: transparent; stroke-width: 18; stroke-linecap: round; pointer-events: stroke; cursor: pointer; }
.demo-wire-hit:hover, .demo-wire-hit:focus { stroke: rgb(170 166 255 / 16%); outline: none; }
.demo-wire-preview { fill: none; stroke: #aaa6ff; stroke-width: 1.7; stroke-dasharray: 5 5; stroke-linecap: round; pointer-events: none; }
.demo-node { position: absolute; z-index: 2; width: 215px; height: 62px; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #353640; border-radius: 8px; background: #15161c; box-shadow: 0 8px 19px #0005; color: #e8e8ef; cursor: grab; touch-action: none; user-select: none; }
.demo-node:active { cursor: grabbing; }
.demo-source { border-top-color: #557da7; }
.demo-agent { border-top-color: #7667bc; }
.demo-email { border-top-color: #4d8f70; }
.demo-condition { border-top-color: #be9b58; }
.demo-transform { border-top-color: #4c9f96; }
.demo-output { border-top-color: #4d8f70; }
.hero-demo-board .demo-node { width: clamp(125px, 21%, 138px); height: 60px; gap: 8px; padding: 8px; }
.hero-demo-board .demo-node-icon { width: 27px; height: 27px; }
.hero-demo-board .demo-node-copy strong { font-size: 11px; }
.hero-demo-board .demo-node-copy span { font-size: 9px; }
.demo-node-icon { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; font-size: 16px; }
.source-icon { border-color: #293c53; background: #1b2636; color: #69a9ff; }
.agent-icon { border-color: #3c3155; background: #28223b; color: #a793ff; }
.email-icon { border-color: #2c493d; background: #1d3029; color: #6fd2a5; }
.condition-icon { border-color: #4e4129; background: #312a1e; color: #e4c078; }
.transform-icon { border-color: #294944; background: #1d302e; color: #7ed4c5; font: 11px var(--mono); }
.output-icon { border-color: #2c493d; background: #1d3029; color: #6fd2a5; }
.demo-node-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 5px; }
.demo-node-copy strong { overflow: hidden; color: #e8e8ef; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.demo-node-copy span { overflow: hidden; color: #888a96; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.demo-port { position: absolute; z-index: 3; top: 50%; width: 11px; height: 11px; padding: 0; transform: translateY(-50%); border: 2px solid #17181e; border-radius: 50%; background: #7772ff; cursor: crosshair; }
.demo-port-in { left: -6px; }
.demo-port-out { right: -6px; }
.demo-port:hover, .demo-port:focus-visible, .demo-port.is-armed { width: 14px; height: 14px; outline: none; background: #aaa6ff; }
.demo-reset-icon { position: absolute; z-index: 4; top: 12px; right: 13px; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #2a2b33; border-radius: 5px; background: #14151a; color: #9a9ca7; font-size: 17px; line-height: 1; cursor: pointer; }
.demo-reset-icon:hover, .demo-reset-icon:focus-visible { border-color: #625df3; color: #eee; outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
@keyframes demo-wire-flow { to { stroke-dashoffset: -11; } }

.closing-section { padding-block: 100px 108px; text-align: center; }
.closing-section>.eyebrow { margin-bottom: 17px; }
.closing-section h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 5.1vw, 4.1rem); }
.closing-section>p:not(.eyebrow) { max-width: 570px; margin: 0 auto 26px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.closing-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / 7%); }
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 25px; height: 25px; border-radius: 7px; }
.site-footer p { margin: 0; color: var(--quiet); font-size: 11px; }
.site-footer p span { padding-inline: 5px; color: #5e6070; }
.footer-link { font-size: 11px; }

@media (max-width: 980px) {
  .hero { gap: 36px; padding-block: 72px 80px; }
  .transparency { gap: 45px; }
}

@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 760px; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 600px); }
  .site-header { min-height: 70px; gap: 15px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 11px; }
  .site-header>.button { display: none; }
  .hero { gap: 34px; padding-block: 72px 69px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.8rem, 8vw, 3.6rem); }
  .hero-lede { max-width: 560px; font-size: 16px; }
  .section { padding-block: 70px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .section-heading-row>p { max-width: 570px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transparency { grid-template-columns: 1fr; gap: 36px; padding-block: 78px; }
  .run-card { max-width: 600px; }
  .beta-inner { padding-block: 45px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 460px); }
  .site-header { min-height: 66px; flex-wrap: wrap; justify-content: space-between; padding-block: 12px; }
  .brand { font-size: 16px; }
  .main-nav { flex-basis: 100%; justify-content: space-between; gap: 8px; margin-left: 0; }
  .main-nav a { font-size: 10px; }
  .hero { gap: 34px; padding-block: 60px 55px; }
  h1 { font-size: clamp(2.65rem, 12vw, 3.2rem); }
  .hero-actions { gap: 17px; }
  .hero-actions .button { width: 100%; }
  .button-feedback { width: 100%; }
  .closing-actions .button { width: 100%; }
  .hero-note { align-items: flex-start; flex-wrap: wrap; margin-top: 24px; }
  .hero-workflow-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero-workflow-count { font-size: 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card, .step-card + .step-card { min-height: 0; padding: 22px 0; border-left: 0; }
  .step-card + .step-card { border-top: 1px solid var(--line); }
  .step-number { margin-bottom: 12px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 0; padding: 19px; }
  .capability-icon { margin-bottom: 17px; }
  .beta-inner { grid-template-columns: 1fr; gap: 15px; }
  .beta-facts { grid-template-columns: 1fr; gap: 9px; }
  .closing-section { padding-block: 74px; }
  .demo-section { padding-block: 12px 40px; }
  .demo-canvas { width: calc(100% - 32px); }
  .hero-demo-canvas { width: 100%; }
  .demo-board { min-width: 790px; }
  .hero-demo-board { min-width: 790px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; padding-block: 19px; }
}

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