/* Arbitum AI — site styles. No external requests: fonts are self-hosted (SIL OFL 1.1, see /assets/fonts/OFL.txt). */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-latin-wght-normal.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;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin-wght-normal.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;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #fafafa;
  --paper: #ffffff;
  --ink: #111113;
  --ink-2: #3f3f46;
  --muted: #62626a;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --surface: #f1f1f3;
  --dot: #d4d4d8;
  --mark: #a1a1aa;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --fpad: clamp(16px, 4.6vw, 56px);   /* inside the frame: from its lines to the content */
  --fblock: clamp(64px, 8vw, 104px);  /* above and below the content of a framed section */
  --header-h: 64px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: #ffe173; color: var(--ink); }

h1, h2, h3 { font-weight: 550; letter-spacing: -0.035em; line-height: 1.08; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- header: full-width bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.header-nav { display: flex; align-items: center; margin-left: 12px; padding-left: 20px; border-left: 1px solid var(--line); height: 24px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 6px 11px; border-radius: 8px; text-decoration: none;
  font-size: 14.5px; font-weight: 450; letter-spacing: -0.01em; color: var(--ink-2);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(17, 17, 19, 0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(17, 17, 19, 0.065); }
.header-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* the other language: the same page in it */
.lang-link {
  display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; padding: 6px 10px; border-radius: 8px; text-decoration: none;
  font-size: 14.5px; font-weight: 450; letter-spacing: -0.01em; color: var(--ink-2); white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-link:hover { color: var(--ink); background: rgba(17, 17, 19, 0.05); }
.lang-link svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; }
.header-login[aria-current="page"] { border-color: var(--ink); }

.nav-menu { display: none; }
.nav-menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 12px;
  border: 1px solid var(--line-2); border-radius: 9px; background: var(--paper);
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.nav-menu summary:hover { background: var(--surface); border-color: #a1a1aa; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav-menu[open] summary { border-color: var(--ink); }
.nav-menu ul {
  position: absolute; left: 0; right: 0; top: 100%;
  margin: 0; padding: 8px 20px 18px; list-style: none;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.18);
}
.nav-menu ul a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
}
.nav-menu ul li:last-child a { border-bottom: 0; }
.nav-menu ul a::after { content: "→"; color: var(--muted); }
.nav-menu ul a[aria-current="page"] { font-weight: 600; }

/* narrower screens: the links and the other language move into the menu; then Contact (it is in the menu too),
   and on phones the menu button keeps its icon only */
@media (max-width: 1023px) {
  .header-nav, .lang-link { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 599px) {
  .header-end .header-contact { display: none; }
}
@media (max-width: 439px) {
  .header-inner { gap: 12px; }
}
@media (max-width: 374px) {
  .nav-menu summary { justify-content: center; width: 40px; min-height: 36px; padding: 0; }
  .nav-menu-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 339px) {
  .brand span { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
  text-decoration: none; color: var(--ink); white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
/* flat: one colour, a hairline border, no shadow and no lift */
.btn:hover { text-decoration: none; }
.btn--primary { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn--primary:hover { background: #2e2e33; border-color: #2e2e33; }
.btn--primary:active { background: #000; border-color: #000; }
.btn--secondary { background: var(--paper); border-color: var(--line-2); }
.btn--secondary:hover { background: var(--surface); border-color: #a1a1aa; }
.btn--secondary:active { background: #e8e8eb; }
.btn--small { min-height: 36px; padding: 7px 13px; border-radius: 8px; font-size: 14px; }
.btn .arrow { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- dot grid ---------- */
.dots {
  position: relative;
  isolation: isolate;
}
.dots::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%);
  pointer-events: none;
}
.hero.dots::before {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 560; letter-spacing: -0.05em; line-height: 1.02; }
.hero h1 .line { display: block; text-wrap: balance; }
.hero h1 .line + .line { color: #71717a; }
.hero .lede {
  max-width: 640px; margin: 22px auto 30px;
  font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--ink-2);
}

/* ---------- the frame ----------
   Below the hero the sections sit between two hairlines that run down to the footer. A hairline across the page
   starts each section, and a small cross marks where the lines meet. Grids inside (agents, steps) reach the lines. */
.frame { position: relative; border-top: 1px solid var(--line); }
.frame > .wrap, .footer > .wrap { position: relative; border-inline: 1px solid var(--line); }
.frame > .wrap { padding: var(--fblock) var(--fpad); }
.frame > .wrap::before, .frame > .wrap::after, .footer > .wrap::before, .footer > .wrap::after,
.gallery::before, .gallery::after, .steps::before, .steps::after {
  content: ""; position: absolute; z-index: 2; top: -6px; width: 11px; height: 11px; pointer-events: none;
  background: linear-gradient(var(--mark), var(--mark)) 5px 0 / 1px 100% no-repeat, linear-gradient(var(--mark), var(--mark)) 0 5px / 100% 1px no-repeat;
}
.frame > .wrap::before, .footer > .wrap::before { left: -6px; }
.frame > .wrap::after, .footer > .wrap::after { right: -6px; }
.gallery::before, .steps::before { left: -6px; top: -6px; }
.gallery::after, .steps::after { right: -6px; top: -6px; }

/* ---------- sections ---------- */
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.04em; }
.duo-copy h2 { font-size: clamp(2rem, 3.3vw, 2.7rem); letter-spacing: -0.04em; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; }

/* two cells side by side: the copy, and a dotted stage */
.frame > .wrap.duo { display: grid; padding: 0; }
@media (min-width: 960px) { .frame > .wrap.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.duo-copy { align-self: center; padding: var(--fblock) var(--fpad); }
.duo-copy h2 { max-width: 480px; }
.duo-copy p.intro { margin-top: 18px; color: var(--ink-2); font-size: 1.06rem; max-width: 470px; }
.duo-stage {
  position: relative; isolation: isolate; display: grid; place-items: center;
  padding: clamp(36px, 6vw, 72px) var(--fpad); border-top: 1px solid var(--line);
}
@media (min-width: 960px) { .duo-stage { border-top: 0; border-left: 1px solid var(--line); } }
.duo-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; max-width: 470px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ticks li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; flex: none; background: var(--ink);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}

/* how we work: three cells on a pipeline. A pulse runs from one step to the next and lights each port. */
.steps {
  position: relative; list-style: none; margin: 0 calc(-1 * var(--fpad)) calc(-1 * var(--fblock)); padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line);
}
.step { position: relative; padding: 78px var(--fpad) clamp(48px, 6vw, 72px); }
.step + .step { border-left: 1px solid var(--line); }
.step-port {
  position: absolute; left: var(--fpad); top: 34px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 0 0 0 4px var(--bg);
}
.step-port::after { /* lit */
  content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--ink); transform: scale(0);
}
.step:not(:last-child)::before { /* the wire to the next port */
  content: ""; position: absolute; left: calc(var(--fpad) + 13px); top: 40px; width: calc(100% - 13px); height: 1.5px; background: var(--ink);
}
.step:not(:last-child)::after { /* the pulse: as long as the wire, with its dot at the front (the right end). It slides in
  from the left, so at rest it covers the wire and never reaches past the last step (no sideways scroll). */
  content: ""; position: absolute; left: calc(var(--fpad) + 20.5px); top: 37px; width: calc(100% - 13px); height: 7.5px; opacity: 0;
  background: radial-gradient(circle closest-side, var(--ink) 98%, transparent) 100% 0 / 7.5px 7.5px no-repeat;
}
.step-num { display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted); }
.steps h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); letter-spacing: -0.03em; margin-top: 10px; }
.steps p { margin-top: 10px; color: var(--ink-2); max-width: 340px; }
@media (prefers-reduced-motion: no-preference) {
  .step-port::after { animation: port-lit 6s ease-in-out infinite; }
  .step:nth-child(2) .step-port::after { animation-delay: -3.72s; }
  .step:nth-child(3) .step-port::after { animation-delay: -1.44s; }
  .step:not(:last-child)::after { animation: step-pulse 6s cubic-bezier(0.5, 0, 0.3, 1) infinite; animation-delay: -5.4s; }
  .step:nth-child(2)::after { animation-delay: -3.12s; }
}
@keyframes port-lit { 0% { transform: scale(0); } 4%, 16% { transform: scale(1); } 24%, 100% { transform: scale(0); } }
@keyframes step-pulse { 0% { opacity: 0; transform: translateX(-100%); } 3% { opacity: 1; } 30% { opacity: 1; transform: translateX(0); } 33%, 100% { opacity: 0; transform: translateX(0); } }
@keyframes step-pulse-down { 0% { opacity: 0; transform: translateY(-100%); } 3% { opacity: 1; } 30% { opacity: 1; transform: translateY(0); } 33%, 100% { opacity: 0; transform: translateY(0); } }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding: 30px var(--fpad) 34px calc(var(--fpad) + 36px); }
  .step + .step { border-left: 0; }
  .step-port { top: 34px; }
  .step:not(:last-child)::before { left: calc(var(--fpad) + 5.75px); top: 47px; width: 1.5px; height: calc(100% - 13px); }
  .step:not(:last-child)::after {
    left: calc(var(--fpad) + 2.75px); top: 54.5px; width: 7.5px; height: calc(100% - 13px); background-position: 0 100%;
    animation-name: step-pulse-down;
  }
  .steps h3 { margin-top: 6px; }
}
.steps.reveal { opacity: 1; transform: none; }
.steps.reveal .step { opacity: 0; transform: translateY(16px); transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.steps.reveal.is-in .step { opacity: 1; transform: none; }
.steps.reveal .step:nth-child(2) { transition-delay: 0.2s; }
.steps.reveal .step:nth-child(3) { transition-delay: 0.4s; }

/* data responsibility */
.data-box { max-width: 720px; margin: 0 auto; text-align: center; }
.data-icon {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 24px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line-2);
}
.data-icon::before { /* a dotted ring around the lock */
  content: ""; position: absolute; inset: -9px; border-radius: 19px; border: 1px dashed var(--line-2);
}
.data-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.data-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.035em; max-width: 620px; margin-inline: auto; }
.data-box p { color: var(--ink-2); margin: 16px auto 28px; font-size: 1.03rem; max-width: 600px; }

/* contact */
.frame > .wrap.contact { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .frame > .wrap.contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; } }
.contact h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.045em; }
.contact .lede { margin: 16px 0 30px; max-width: 460px; color: var(--ink-2); font-size: 1.06rem; }
.contact .btn-row { justify-content: flex-start; }
.contact .crew { margin-bottom: 26px; }
.contact-details { margin: 0; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { font-size: 14px; color: var(--muted); padding-top: 1px; }
.contact-details dd { margin: 0; }
.contact-details address, .contact-details a { font-style: normal; color: var(--ink); }

/* ---------- sections below the fold fade in (added by /assets/js/agents.js, not with reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-reveal="late"] { transition-delay: 0.12s; }
.motion-paused .reveal, .motion-paused .steps.reveal .step { transition: none; }
@media print {
  .reveal, .steps.reveal .step { opacity: 1 !important; transform: none !important; }
}

/* ---------- legal pages ---------- */
.page-head { padding: 96px 0 56px; text-align: center; }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); letter-spacing: -0.045em; }
.page-head p { margin-top: 16px; color: var(--muted); }

.prose { max-width: 720px; margin: 0 auto; font-size: 1.02rem; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink);
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; gap: 14px; align-items: baseline;
}
.prose h2 .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); font-weight: 400; min-width: 22px; }
.prose h3 { font-size: 1.08rem; letter-spacing: -0.01em; color: var(--ink); margin-top: 26px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: #9a9aa2; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .summary { background: var(--surface); border-radius: 14px; padding: 18px 20px; color: var(--ink-2); }
.prose .note { font-size: 0.94rem; color: var(--muted); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 18px 0 0; padding: 18px 20px; background: var(--surface); border-radius: 14px; }
.facts dt { font-size: 14px; font-weight: 500; color: var(--muted); padding-top: 1px; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}

.provider-list { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.provider-list li { margin: 0 !important; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.provider-list .who { color: var(--ink); font-weight: 600; }
.provider-list .where { font-size: 13.5px; color: var(--muted); }

.request-card { margin-top: 20px; padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.request-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 18px; }
.request-card dt { font-size: 14px; font-weight: 500; color: var(--muted); padding-top: 1px; }
.request-card dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .request-card dl { grid-template-columns: 1fr; gap: 2px; } .request-card dd { margin-bottom: 8px; } }

.path { font-family: var(--mono); font-size: 0.86em; background: var(--surface); padding: 2px 6px; border-radius: 6px; color: var(--ink); white-space: normal; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--paper); font-size: 0.94rem; color: var(--ink-2); }
.footer > .wrap { padding: 56px var(--fpad) 40px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.1fr 0.8fr 1.6fr; } }
.footer .brand { margin-bottom: 14px; }
.footer h2 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.65; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--ink-2); text-decoration: underline; }

/* ---------- log in: the name of the company's workspace, then on to <name>.arbitum.ai/console ---------- */
.login { padding: clamp(56px, 10vw, 128px) 0 clamp(72px, 11vw, 144px); }
.login-card {
  max-width: 440px; margin: 0 auto; padding: clamp(28px, 6vw, 40px) clamp(20px, 5vw, 36px); text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
}
.login-card h1 { font-size: clamp(1.6rem, 4.2vw, 1.9rem); letter-spacing: -0.035em; }
.login-form { margin-top: 24px; }
.ws-field {
  display: flex; align-items: center; min-height: 54px; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); cursor: text;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ws-field:hover { border-color: #a1a1aa; }
.ws-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 19, 0.1); }
.ws-field.is-invalid { border-color: #c4320a; }
.ws-field.is-invalid:focus-within { box-shadow: 0 0 0 3px rgba(196, 50, 10, 0.14); }
/* the name sits against .arbitum.ai, so the field reads as the address */
.ws-input {
  flex: 1; min-width: 0; height: 52px; margin: 0; padding: 0 1px 0 16px; border: 0; background: transparent;
  font-family: var(--sans); font-size: 17px; letter-spacing: -0.01em; color: var(--ink); text-align: right;
}
.ws-input::placeholder { color: #a1a1aa; opacity: 1; }
.ws-input:focus-visible { outline: none; }
.ws-suffix { flex: none; padding-right: 16px; font-size: 17px; letter-spacing: -0.01em; color: var(--muted); }
.ws-error { margin-top: 10px; font-size: 14px; font-weight: 500; color: #b42318; }
.login-submit { width: 100%; margin-top: 14px; min-height: 48px; }
.login-submit.is-going { cursor: progress; }
.login-submit.is-going .arrow { animation: login-go 0.9s ease-in-out infinite; }
@keyframes login-go { 50% { transform: translateX(4px); } }
.login-help { margin-top: 20px; font-size: 14px; color: var(--muted); }
.login-help a { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 96px 0 80px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.045em; }
.notfound p { margin: 16px auto 28px; color: var(--ink-2); }
.notfound .notfound-other { margin: 40px auto 0; font-size: 14px; color: var(--muted); }
.notfound-other a { color: var(--ink); }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  :root { --fpad: 14px; --fblock: 64px; }
  .hero { padding: 60px 0 44px; }
  .frame > .wrap, .footer > .wrap { width: calc(100% - 24px); }
  .section-head { margin-bottom: 36px; }
  .page-head { padding: 72px 0 36px; }
  .prose h2 { margin-top: 40px; }
}

/* ---------- agents (home page) ----------
   Hero: one workflow at a time, drawn as a small graph: the app where the work arrives, one or two agents and the
   apps they look things up in, decisions that pick a branch, your team's approval, and the apps where the agents act.
   tools/agents.mjs draws it twice from the same nodes: left to right (1000 units wide) and, on phones, top to bottom
   (400 units wide). Sizes inside the canvas are multiples of --u, a hundredth of the wide canvas (ten units), or a
   fortieth of the phone canvas, so the whole drawing scales as one. Above the canvas, one tab per workflow; without
   JavaScript the tabs switch workflows (CSS radio buttons). /assets/js/agents.js adds .is-js and runs the workflows
   step by step.
   Smoothness: most of what moves is drawn once and moved by the compositor (transform and opacity, on HTML
   elements); SVG drawings change for short moments (a blink, a connection being drawn), and the data flowing along
   the connections comes to rest. Animations run only while they can be seen: one left running out of sight still
   costs every frame. */

/* shared avatar parts */
.av { overflow: visible; }
.av-body { fill: var(--c); }
.av-round { stroke: var(--c); stroke-width: 8; stroke-linejoin: round; }
.av-round--thick { stroke-width: 14; }
.av-eye { fill: #111113; }
.av-look { transform: translate(calc(var(--lx, 0) * 1px), calc(var(--ly, 0) * 1px)); transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1); }
.av-eyes { transform-box: fill-box; transform-origin: center; }
/* now and then one of the avatars on screen blinks (/assets/js/agents.js) */
.av-eyes.is-blink { animation: av-blink 0.24s ease-in-out; }
@keyframes av-blink { 50% { transform: scaleY(0.1); } }
@keyframes av-spin { to { transform: rotate(360deg); } }
@keyframes av-hop { 40% { transform: translateY(-8%); } }
/* an agent's ring: short dashes on a circle, drawn once and turned by the compositor while the agent works */
.fn--agent::before, .ag-agent::before {
  content: ""; position: absolute; inset: 2.5%; border-radius: 50%; pointer-events: none; opacity: 0.4;
  background: repeating-conic-gradient(var(--c-strong) 0deg 4.3deg, transparent 4.3deg 13.3deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.4px));
  transition: opacity 0.4s ease;
}
/* and a soft shadow in its colour (a filter on the drawing would be painted again whenever its eyes move) */
.fn--agent::after, .ag-agent::after {
  content: ""; position: absolute; z-index: -1; left: 12%; right: 12%; top: 58%; height: 54%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 62%, transparent), transparent);
}

/* ---------- hero canvas ---------- */
.flow {
  position: relative; margin: 44px 0 0; padding: 0; border: 0; min-width: 0;
  --u: min(11.2px, calc(1vw - 0.4px)); /* the canvas is as wide as .wrap: min(1120px, 100% - 40px) */
}
/* The radios sit where the tabs are, under the canvas: tapping a tab focuses its radio, and the page must not jump
   to show it. They come first in the page's order, before the canvas: the tabs pick what the canvas shows. */
.flow-radio {
  position: absolute; bottom: 22px; left: 50%; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0;
}
.flow-stage { position: relative; }
.flow-canvas { position: relative; width: 100%; }
.flow-layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.18s ease, visibility 0s linear 0.18s; }
/* a soft light behind the workflow's agent, in its colour */
.flow-layer::before {
  content: ""; position: absolute; width: 44%; aspect-ratio: 1.7 / 1; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent);
}

/* connections: a grey line, the coloured line the work draws, the dot that carries it, the arrow and the ports.
   Once a connection has carried the work, data keeps flowing along it. */
.flow-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-edges--v { display: none; }
.fe { transition: opacity 0.4s ease; }
.fe-base { fill: none; stroke: #d5d5db; stroke-width: 1.5; transition: stroke 0.3s ease; }
.fe--tool .fe-base { stroke-dasharray: 3 4; }
.fe-line { fill: none; stroke: var(--c-strong); stroke-width: 1.8; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.fe-dot, .fe-flow { fill: none; stroke: var(--c-strong); stroke-linecap: round; stroke-dasharray: 0 200; opacity: 0; }
.fe-dot { stroke-width: 7; }
.fe-flow { stroke-width: 4.2; }
.fe-arrow { fill: none; stroke: #c2c2ca; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.fe-port { fill: var(--paper); stroke: #c2c2ca; stroke-width: 1.3; transition: fill 0.3s ease, stroke 0.3s ease; }
.fe.is-run .fe-line { animation: fe-draw 0.46s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
.fe.is-run .fe-dot { opacity: 1; animation: fe-move 0.46s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
.fe--tool.is-run .fe-dot { animation: fe-ping 0.5s ease-in-out forwards; }
.fe.is-ok .fe-line { stroke-dashoffset: 0; }
.fe.is-ok .fe-flow { opacity: 0.5; animation: fe-move 2.4s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation-delay: calc(var(--d, 0) * -0.53s); }
/* a workflow the visitor leaves done, or waiting for Approve, comes to rest after a few seconds (/assets/js/agents.js):
   the data stops flowing and fades, and the approval stops calling, so nothing on screen keeps working for nothing */
.flow-layer.is-rest .fe.is-ok .fe-flow { opacity: 0; animation-play-state: paused; transition: opacity 0.8s ease; }
.fe.is-ok .fe-arrow, .fe--tool.is-run .fe-base, .fe--tool.is-ok .fe-base { stroke: var(--c-strong); }
.fe.is-ok .fe-port, .fe.is-run .fe-port:last-child { fill: var(--c-strong); stroke: var(--c-strong); }
/* a branch a decision did not take */
.fe.is-skip { opacity: 0.4; }
.fe.is-skip .fe-base { stroke-dasharray: 1.4 2.8; }
@keyframes fe-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fe-move { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes fe-ping { 0% { stroke-dashoffset: 0; } 50% { stroke-dashoffset: -100; } 100% { stroke-dashoffset: 0; } }

/* the branches of a decision, named on their connection */
.flow-tags { position: absolute; inset: 0; pointer-events: none; }
.fe-tag {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  padding: calc(var(--u) * 0.25) calc(var(--u) * 0.7); border-radius: calc(var(--u) * 0.6);
  font-size: clamp(10px, calc(var(--u) * 1.12), 12.5px); font-weight: 500; line-height: 1.35; letter-spacing: -0.005em;
  color: var(--ink-2); background: var(--paper); border: 1px solid var(--line-2);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.05);
  transition: opacity 0.4s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.3, 0.7, 0.3, 1.6);
}
.fe-tag.is-pick {
  color: var(--ink); border-color: var(--c-strong); transform: translate(-50%, -50%) scale(1.08);
  background: color-mix(in srgb, var(--c) 42%, #fff);
}
.fe-tag.is-skip { opacity: 0.4; }

/* nodes */
.flow-nodes { list-style: none; margin: 0; padding: 0; }
.fn { position: absolute; transform: translate(-50%, -50%); transition: opacity 0.4s ease, filter 0.4s ease; }
.fn.is-skip { opacity: 0.35; filter: grayscale(1); }
/* node sizes and positions: generated from the layout (tools/agents.mjs) */
.fn-icon { position: relative; display: block; width: 100%; height: 100%; transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1.4); }
.fn-icon::before { /* a disc in the page colour keeps the dots and the line ends off the logo */
  content: ""; position: absolute; inset: -42%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--bg) 62%, rgba(250, 250, 250, 0));
}
.fn-icon img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.fn.is-run .fn-icon { transform: scale(1.1); }
/* running: a turning arc around the app */
.fn--app::after, .fn--router::after {
  content: ""; position: absolute; inset: -24%; border-radius: 50%; opacity: 0; pointer-events: none;
  border: 2px solid var(--c-strong); border-right-color: transparent; border-bottom-color: transparent;
  transition: opacity 0.2s ease;
}
.fn--app.is-run::after { opacity: 1; animation: av-spin 0.8s linear infinite; }
/* the app where the work arrives, and a decision being made, send out a ripple */
.fn--trigger.is-run::after, .fn--router.is-run::after { opacity: 1; border-color: var(--c-strong); animation: fn-ripple 0.9s ease-out infinite; }
@keyframes fn-ripple { from { transform: scale(0.75); opacity: 0.9; } to { transform: scale(1.3); opacity: 0; } }

.fn-check {
  position: absolute; right: calc(var(--u) * -0.75); top: calc(var(--u) * -0.75); z-index: 2;
  width: calc(var(--u) * 1.7); height: calc(var(--u) * 1.7); min-width: 14px; min-height: 14px; border-radius: 50%;
  background: var(--c-strong); box-shadow: 0 0 0 2.5px var(--bg), 0 2px 6px rgba(17, 17, 19, 0.18);
  transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1.6);
}
.fn-check::before {
  content: ""; position: absolute; inset: 18%; background: #fff;
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.fn.is-ok .fn-check { transform: scale(1); }
.fn--agent .fn-check { right: 10%; top: 10%; }

.fn-label {
  position: absolute; left: 50%; top: calc(100% + var(--u)); transform: translateX(-50%); white-space: nowrap;
  font-size: clamp(11px, calc(var(--u) * 1.3), 14px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink-2); text-align: center;
}
.fn-label--agent {
  top: auto; bottom: calc(100% + calc(var(--u) * 1.1));
  font-size: clamp(11.5px, calc(var(--u) * 1.4), 15px); font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
}

/* agents */
.av-flow { position: relative; width: 100%; height: 100%; }
.fn--agent.is-run::before { opacity: 0.95; animation: av-spin 9s linear infinite; }
.flow-layer.is-done .av-flow { animation: av-hop 0.55s cubic-bezier(0.3, 0.7, 0.3, 1.4); }
.flow-thinking {
  position: absolute; left: 78%; bottom: 82%;
  display: flex; gap: calc(var(--u) * 0.4); padding: calc(var(--u) * 0.7) var(--u); border-radius: 10px 10px 10px 3px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 16px -6px rgba(17, 17, 19, 0.18);
  opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease;
}
.flow-thinking i { width: calc(var(--u) * 0.5); height: calc(var(--u) * 0.5); min-width: 4px; min-height: 4px; border-radius: 50%; background: var(--c-strong); opacity: 0.45; }
.fn--agent.is-think .flow-thinking { opacity: 1; transform: none; }
/* the dots bounce only while the agent drafts: an animation left running out of sight still costs every frame */
.fn--agent.is-think .flow-thinking i { animation: think 1s ease-in-out infinite; }
.fn--agent.is-think .flow-thinking i:nth-child(2) { animation-delay: 0.15s; }
.fn--agent.is-think .flow-thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes think { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-3px); opacity: 1; } }

/* decisions: a small diamond */
.fn-router { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.fn-router::before {
  content: ""; position: absolute; inset: 14.6%; border-radius: 22%; transform: rotate(45deg);
  background: var(--paper); border: 1.5px solid #cfcfd6;
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.05);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1.4);
}
.fn-router svg { position: relative; width: 44%; height: 44%; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.fn--router.is-run .fn-router::before { border-color: var(--c-strong); transform: rotate(45deg) scale(1.1); }
.fn--router.is-run .fn-router svg, .fn--router.is-ok .fn-router svg { stroke: var(--c-strong); }
.fn--router.is-ok .fn-router::before { border-color: var(--c-strong); }

/* your team's approval: a pill with the Approve button inside */
.fn-gate {
  position: relative; display: flex; align-items: center; gap: calc(var(--u) * 0.6); width: 100%; height: 100%; padding: 0 calc(var(--u) * 0.5);
  border-radius: calc(var(--u) * 1.1); background: var(--paper); border: 1.5px solid #d5d5db;
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.05);
  transition: border-color 0.3s ease;
}
.fn-gate-glyph {
  flex: none; display: grid; place-items: center; width: calc(var(--u) * 3.3); height: calc(var(--u) * 3.3);
  border-radius: calc(var(--u) * 0.8); background: var(--surface);
}
.fn-gate-glyph svg { width: 62%; height: 62%; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; }
.fn-gate-text {
  flex: 1; text-align: center; white-space: nowrap; padding-right: 2px;
  font-size: clamp(11px, calc(var(--u) * 1.35), 14.5px); font-weight: 550; letter-spacing: -0.015em; color: var(--ink);
}
.fn-gate::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none; opacity: 0;
  border: 2px solid color-mix(in srgb, var(--c-strong) 70%, transparent);
}
.fn--gate.is-wait .fn-gate { border-color: var(--c-strong); }
.fn--gate.is-wait .fn-gate::after { animation: gate-ring 1.5s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.flow-layer.is-rest .fn--gate.is-wait .fn-gate::after { animation: none; } /* at rest: see the flowing data above */
.fn--gate.is-ok .fn-gate { border-color: var(--c-strong); }
.fn--gate.is-ok .fn-gate-glyph { background: color-mix(in srgb, var(--c) 35%, #fff); }
@keyframes gate-ring { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.12, 1.45); } }
.flow-approve {
  display: none; flex: 1; align-items: center; justify-content: center; gap: calc(var(--u) * 0.5);
  height: calc(var(--u) * 3.3); padding: 0 calc(var(--u) * 0.8); border: 0; border-radius: calc(var(--u) * 0.8);
  color: #fff; cursor: pointer; background: var(--ink);
  font-family: var(--sans); font-size: clamp(11px, calc(var(--u) * 1.35), 14.5px); font-weight: 500; letter-spacing: -0.01em; line-height: 1;
  transition: transform 0.12s ease;
}
.flow-approve svg { flex: none; width: 1.1em; height: 1.1em; max-width: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-approve:hover { background: #2e2e33; }
.flow-approve.is-pressed { transform: scale(0.94); }
.flow.is-js .fn--gate.is-wait .flow-approve { display: inline-flex; }
.flow.is-js .fn--gate.is-wait .fn-gate-text { display: none; }

/* a workflow that comes on screen draws itself, one level after another */
.flow-layer.is-enter .fn { animation: fn-in 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; animation-delay: calc(var(--d, 0) * 60ms); }
.flow-layer.is-enter .fe { animation: fe-in 0.24s ease both; animation-delay: calc(var(--d, 0) * 60ms); }
.flow-layer.is-enter .fe:not(.fe--tool) .fe-base { stroke-dasharray: 100 100; animation: fe-draw 0.36s cubic-bezier(0.5, 0, 0.3, 1) both; animation-delay: calc(var(--d, 0) * 60ms); }
.flow-layer.is-enter .fe-tag { animation: fe-in 0.3s ease both; animation-delay: calc(var(--d, 0) * 60ms + 100ms); }
@keyframes fn-in { from { opacity: 0; scale: 0.55; } }
@keyframes fe-in { from { opacity: 0; } }

/* the tabs, under the canvas: one per workflow, with its agents and its name, so any of them is one click away.
   While the workflows play on their own, a line along the tab on screen fills as its workflow runs (the
   compositor draws it: a transform over the run's duration, paused with the run). */
.flow-bar { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.flow-picker {
  display: flex; gap: 2px; padding: 4px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line);
}
.flow-pick {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 12px 0 8px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.flow-pick:hover { color: var(--ink); background: var(--surface); }
.flow-pick-av { display: inline-flex; flex: none; gap: 2px; }
.flow-pick .av { width: 22px; height: 22px; }
.flow-pick::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; pointer-events: none;
  background: var(--c-strong); transform: scaleX(0); transform-origin: left center; opacity: 0; transition: opacity 0.25s ease;
}
.flow-pick.is-progress::after { opacity: 1; animation: pick-run var(--run, 8s) linear forwards; }
@keyframes pick-run { to { transform: scaleX(1); } }
.flow-pause {
  display: none; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.flow.is-js .flow-pause { display: grid; }
.flow-pause:hover { border-color: var(--line-2); background: var(--paper); }
.flow-pause svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.flow-pause .i-play { display: none; fill: var(--ink); stroke: none; }
.flow-pause.is-play .i-pause { display: none; }
.flow-pause.is-play .i-play { display: inline; }

/* paused by the visitor, off screen (.is-idle: /assets/js/agents.js) or a hero that is not playing */
.flow.is-paused *, .flow.is-paused *::before, .flow.is-paused *::after,
.is-idle *, .is-idle *::before, .is-idle *::after,
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }

/* narrower screens: the tabs in two rows of four; while it waits, the approval is all Approve button */
@media (max-width: 989px) {
  .flow-picker { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-pause { align-self: stretch; height: auto; }
}
@media (max-width: 999px) {
  .flow.is-js .fn--gate.is-wait .fn-gate-glyph { display: none; }
}

/* phones: the workflow runs top to bottom (positions and sizes: generated); each tab shows its agent above its name,
   and the pause button sits in the top right corner of the canvas, which no workflow uses there */
@media (max-width: 699px) {
  .flow { --u: calc(2.5vw - 1px); margin-top: 32px; } /* a fortieth of the canvas: 100% - 40px */
  .flow-edges--h { display: none; }
  .flow-edges--v { display: block; }
  .flow-layer::before { width: 76%; aspect-ratio: 1.2 / 1; }
  .fn-label { top: calc(100% + var(--u) * 0.7); }
  .fn-label--agent { top: calc(100% + var(--u) * 0.25); bottom: auto; font-size: 12px; }
  .flow-thinking { left: 72%; bottom: 84%; padding: 6px 7px; gap: 3px; }
  .fn-gate { gap: calc(var(--u) * 0.45); padding: 0 calc(var(--u) * 0.35); border-radius: calc(var(--u) * 1.05); }
  .fn-gate-glyph { width: calc(var(--u) * 2.9); height: calc(var(--u) * 2.9); border-radius: calc(var(--u) * 0.7); }
  .flow-approve { height: calc(100% - var(--u) * 0.7); padding: 0 6px; border-radius: calc(var(--u) * 0.75); }
  .fn-check { box-shadow: 0 0 0 2px var(--bg), 0 2px 6px rgba(17, 17, 19, 0.18); }

  .flow-bar { position: static; margin-top: 14px; }
  .flow-picker { gap: 3px; padding: 4px; border-radius: 13px; }
  .flow-pick { flex-direction: column; gap: 5px; height: 50px; padding: 0 2px; border-radius: 9px; font-size: clamp(11px, 3.1vw, 12.5px); letter-spacing: -0.005em; }
  .flow-pick .av { width: 20px; height: 20px; }
  .flow-pick-av .av + .av { display: none; }
  .flow-pick::after { left: 10px; right: 10px; bottom: 3px; }
  .flow-pause { position: absolute; z-index: 3; top: 6px; right: 6px; width: 38px; height: 38px; border-radius: 11px; }
}

/* ---------- more agents: a grid of cells, each with the app it works from, the agent and the app it works in.
   The cells run their little workflows one after another, each starting before the last one ends
   (/assets/js/agents.js); a cell under the pointer runs at once. ---------- */
.gallery {
  position: relative; list-style: none; margin: 0 calc(-1 * var(--fpad)); padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line); background: var(--paper);
}
.ag { position: relative; isolation: isolate; padding: 30px 26px 32px; border-right: 1px solid var(--line); }
.ag:nth-child(4n) { border-right: 0; }
.ag:nth-child(n + 5) { border-top: 1px solid var(--line); }
/* the cell at work is lit from above in its agent's colour */
.ag::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.6s ease;
  background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 72%);
}
.ag.is-on::before { opacity: 1; }

.ag-flow { position: relative; display: flex; align-items: center; height: 72px; margin-bottom: 24px; }
.ag-flow::before { /* the dotted canvas the little workflow sits on */
  content: ""; position: absolute; inset: -14px -10px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #dcdce1 1px, transparent 1.4px); background-size: 12px 12px; background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.ag-app { position: relative; flex: none; width: 26px; height: 26px; }
.ag-app img { width: 100%; height: 100%; object-fit: contain; }
.ag-app::after { /* a ripple when the work arrives */
  content: ""; position: absolute; inset: -30%; border-radius: 50%; border: 1.5px solid var(--c-strong); opacity: 0; pointer-events: none;
}
.ag-agent { position: relative; flex: none; width: 58px; height: 58px; }
.av-ag { position: relative; width: 100%; height: 100%; }
.ag-agent::after { opacity: 0; transition: opacity 0.5s ease; }
.ag-wire { position: relative; flex: 1; height: 8px; margin: 0 9px; }
.ag-wire::before { /* the connection, dashed until the work runs along it */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -0.5px;
  background: repeating-linear-gradient(90deg, #c9c9d1 0 3px, transparent 3px 6px);
}
.ag-wire::after { /* the line the work draws */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; border-radius: 1px; opacity: 0;
  background: var(--c-strong); transform: scaleX(0); transform-origin: left center;
}
/* as wide as the wire, with the dot at its right end: it slides in from the left by its own width, which carries the
   dot across, and at rest it covers the wire, so it never reaches past the cell (no sideways scroll) */
.ag-wire i { position: absolute; inset: 0; opacity: 0; }
.ag-wire i::before {
  content: ""; position: absolute; right: -3.5px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--c-strong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent);
}
.ag-check {
  position: absolute; right: -6px; top: calc(50% - 21px); z-index: 1; width: 15px; height: 15px; border-radius: 50%;
  background: var(--c-strong); box-shadow: 0 0 0 2px var(--paper); transform: scale(0);
}
.ag-check::before {
  content: ""; position: absolute; inset: 17%; background: #fff;
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.ag-name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.ag-text { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* one run: the app sends the work, the agent takes it and thinks, the result lands in the other app (2.8s) */
.ag.is-on .ag-app--in img { animation: ag-pop 2.8s cubic-bezier(0.3, 0.7, 0.3, 1.4) both; }
.ag.is-on .ag-app--in::after { animation: ag-ripple 2.8s ease-out both; }
.ag.is-on .ag-wire::after { animation: ag-wire 2.8s cubic-bezier(0.45, 0, 0.2, 1) both; }
.ag.is-on .ag-wire i { animation: ag-dot 2.8s cubic-bezier(0.45, 0, 0.2, 1) both; }
.ag.is-on .ag-wire--out::after { animation-name: ag-wire-out; }
.ag.is-on .ag-wire--out i { animation-name: ag-dot-out; }
.ag.is-on .av-ag { animation: ag-hop 2.8s cubic-bezier(0.3, 0.7, 0.3, 1.4) both; }
.ag.is-on .ag-agent::before { opacity: 0.95; animation: av-spin 6s linear infinite; }
.ag.is-on .ag-agent::after { opacity: 1; }
.ag.is-on .av-eyes { animation: ag-look 2.8s ease-in-out both; }
.ag.is-on .ag-app--out img { animation: ag-pop-out 2.8s cubic-bezier(0.3, 0.7, 0.3, 1.4) both; }
.ag.is-on .ag-check { animation: ag-check 2.8s cubic-bezier(0.3, 0.7, 0.3, 1.6) both; }
@keyframes ag-pop { 0% { scale: 1; } 6% { scale: 1.2; } 14%, 100% { scale: 1; } }
@keyframes ag-ripple { 0% { opacity: 0.9; scale: 0.7; } 16%, 100% { opacity: 0; scale: 1.25; } }
@keyframes ag-wire { 0%, 8% { opacity: 1; transform: scaleX(0); } 30% { transform: scaleX(1); } 88% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes ag-wire-out { 0%, 54% { opacity: 1; transform: scaleX(0); } 76% { transform: scaleX(1); } 88% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes ag-dot { 0%, 8% { opacity: 0; transform: translateX(-100%); } 9% { opacity: 1; transform: translateX(-100%); } 30% { opacity: 1; transform: translateX(0); } 34%, 100% { opacity: 0; transform: translateX(0); } }
@keyframes ag-dot-out { 0%, 54% { opacity: 0; transform: translateX(-100%); } 55% { opacity: 1; transform: translateX(-100%); } 76% { opacity: 1; transform: translateX(0); } 80%, 100% { opacity: 0; transform: translateX(0); } }
@keyframes ag-hop { 0%, 28% { translate: 0 0; } 33% { translate: 0 -5%; } 40%, 100% { translate: 0 0; } }
@keyframes ag-look { 0%, 3% { translate: 0 0; } 9%, 27% { translate: -7px 1px; } 34%, 50% { translate: 1px -7px; } 57%, 84% { translate: 7px 1px; } 94%, 100% { translate: 0 0; } }
@keyframes ag-pop-out { 0%, 74% { scale: 1; } 80% { scale: 1.2; } 88%, 100% { scale: 1; } }
@keyframes ag-check { 0%, 76% { transform: scale(0); } 82%, 92% { transform: scale(1); } 100% { transform: scale(0); } }

.gallery-note { margin-top: 20px; color: var(--muted); font-size: 12.5px; text-align: center; }

@media (max-width: 1079px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag:nth-child(4n) { border-right: 1px solid var(--line); }
  .ag:nth-child(2n) { border-right: 0; }
  .ag:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .ag { padding: 20px 14px 22px; }
  .ag-flow { height: 50px; margin-bottom: 16px; }
  .ag-app { width: 20px; height: 20px; }
  .ag-agent { width: 42px; height: 42px; }
  .ag-wire { margin: 0 5px; }
  .ag-check { width: 13px; height: 13px; top: calc(50% - 17px); right: -5px; }
  .ag-name { font-size: 14.5px; }
  .ag-text { margin-top: 4px; font-size: 13px; line-height: 1.45; }
}

/* ---------- approvals: the steps waiting for your team, in a light window (CSS switch and checkboxes) ---------- */
.ap-window {
  position: relative; width: 100%; max-width: 540px; margin-inline: auto; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 1px 1px rgba(17, 17, 19, 0.03), 0 2px 4px rgba(17, 17, 19, 0.04), 0 24px 48px -20px rgba(17, 17, 19, 0.22);
}
.ap-title {
  padding: 14px 18px 13px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fbfbfc);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 24px; color: var(--ink);
}
.ap-switch {
  position: absolute; top: 14px; right: 18px; margin: 0;
  -webkit-appearance: none; appearance: none; width: 40px; height: 24px; border-radius: 999px;
  background: #d4d4d8; cursor: pointer; transition: background-color 0.2s ease;
}
.ap-switch::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(17, 17, 19, 0.25); transition: transform 0.2s ease;
}
.ap-switch:checked { background: var(--ink); }
.ap-switch:checked::before { transform: translateX(16px); }
.ap-label { position: absolute; top: 14px; right: 68px; line-height: 24px; cursor: pointer; color: var(--muted); font-size: 13.5px; }

.ap-list { list-style: none; margin: 0; padding: 0; }
.ap-row {
  position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 11px 14px 11px 18px;
  border-bottom: 1px solid var(--line); transition: background-color 0.3s ease, opacity 0.3s ease;
}
.ap-row::before { /* the step that asks for your team is marked on the left */
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0;
  background: var(--c-strong); transform: scaleY(0); transition: transform 0.3s ease;
}
.ap-check {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0;
}
.ap-who { position: relative; flex: none; width: 36px; height: 36px; }
.ap-who .av { width: 36px; height: 36px; }
.ap-who img {
  position: absolute; right: -6px; bottom: -5px; width: 20px; height: 20px; padding: 3px;
  border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(17, 17, 19, 0.08);
}
.ap-task { flex: 1; min-width: 0; color: var(--ink); font-size: 15px; line-height: 1.35; letter-spacing: -0.01em; transition: color 0.3s ease; }
.ap-btn {
  flex: none; display: inline-grid; place-items: center; min-width: 112px; min-height: 36px; padding: 0 12px;
  border-radius: 9px; cursor: pointer; -webkit-user-select: none; user-select: none;
  color: #fff; background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}
.ap-btn:hover { background: #2e2e33; box-shadow: inset 0 0 0 1px #2e2e33; }
.ap-btn.is-pressed { transform: scale(0.94); }
.ap-do, .ap-done { display: inline-flex; align-items: center; gap: 6px; }
.ap-btn svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-done, .ap-off { display: none; }
.ap-check:focus-visible ~ .ap-btn { outline: 2px solid var(--ink); outline-offset: 3px; }

/* approved */
.ap-check:checked ~ .ap-task { color: var(--muted); }
.ap-check:checked ~ .ap-btn { color: var(--ink-2); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ap-check:checked ~ .ap-btn svg { color: var(--c-strong); }
.ap-check:checked ~ .ap-btn .ap-do {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.ap-check:checked ~ .ap-btn .ap-done { display: inline-flex; }
/* the next step asks for your team */
.ap-row::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: color-mix(in srgb, var(--c) 14%, #fff);
}
.ap-row.is-next::after { animation: ap-ask 1.4s ease-in-out infinite; }
.ap-row.is-next::before { transform: none; }
@keyframes ap-ask { 50% { opacity: 1; } }
/* a new batch of steps comes in */
.ap-row.is-new { animation: ap-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes ap-in { from { opacity: 0; transform: translateY(-8px); } }

/* agents paused: nothing runs */
.ap-switch:not(:checked) ~ .ap-list .ap-row { opacity: 0.55; animation: none; }
.ap-switch:not(:checked) ~ .ap-list .ap-row::before { transform: scaleY(0); }
.ap-switch:not(:checked) ~ .ap-list .av-ap .av-body { fill: #c4c4cb; stroke: #c4c4cb; }
.ap-switch:not(:checked) ~ .ap-list .ap-check { visibility: hidden; }
.ap-switch:not(:checked) ~ .ap-list .ap-btn { pointer-events: none; }
.ap-switch:not(:checked) ~ .ap-list .ap-check:not(:checked) ~ .ap-btn { color: var(--muted); background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.ap-switch:not(:checked) ~ .ap-list .ap-check:not(:checked) ~ .ap-btn .ap-do { display: none; }
.ap-switch:not(:checked) ~ .ap-list .ap-check:not(:checked) ~ .ap-btn .ap-off { display: inline; }

.ap-state { padding: 13px 18px 14px; background: #fbfbfc; color: var(--muted); font-size: 13.5px; text-align: center; }
.ap-switch:checked ~ .ap-state .when-off,
.ap-switch:not(:checked) ~ .ap-state .when-on { display: none; }

@media (max-width: 480px) {
  .ap-row { gap: 12px; padding: 10px 10px 10px 14px; }
  .ap-task { font-size: 14px; }
  .ap-btn { min-width: 0; width: 44px; min-height: 40px; padding: 0; }
  .ap-btn .ap-do, .ap-btn .ap-done { font-size: 0; gap: 0; }
  .ap-btn svg { width: 16px; height: 16px; }
  .ap-switch:not(:checked) ~ .ap-list .ap-check:not(:checked) ~ .ap-btn .ap-off { font-size: 12px; }
  .ap-switch:not(:checked) ~ .ap-list .ap-check:not(:checked) ~ .ap-btn { width: auto; padding: 0 9px; }
}

/* ---------- the crew by the contact details: the agents look where the pointer goes ---------- */
/* one row of eight at every width: on the narrowest screens they shrink a little */
.crew { display: flex; gap: 10px; }
.crew .av { flex: 0 1 34px; min-width: 0; height: auto; aspect-ratio: 1; }

/* ---------- generated by tools/build.mjs from src/data/agents.json ---------- */
.c-sales { --c: #93e3a8; --c-strong: #28a956; }
.c-support { --c: #8ec5ff; --c-strong: #2f8cf0; }
.c-content { --c: #ff9a85; --c-strong: #ef5a3c; }
.c-meetings { --c: #7edfd6; --c-strong: #16a89b; }
.c-research { --c: #ffe173; --c-strong: #d9a800; }
.c-writer { --c: #ffb3d9; --c-strong: #d94a8c; }
.c-finance { --c: #c5b3ff; --c-strong: #7b5cf0; }
.c-devops { --c: #c9e86b; --c-strong: #7fa513; }
.c-buyer { --c: #ffc27a; --c-strong: #ee8a1d; }
.c-recruiting { --c: #a5b4fc; --c-strong: #5468e7; }
.c-onboarding { --c: #7edfd6; --c-strong: #16a89b; }
.c-legal { --c: #e9d3a8; --c-strong: #b0823a; }
.c-translation { --c: #a7f0d4; --c-strong: #1f9e73; }
.c-expenses { --c: #93e3a8; --c-strong: #28a956; }
.c-ads { --c: #ffb3d9; --c-strong: #d94a8c; }
.c-market { --c: #8ec5ff; --c-strong: #2f8cf0; }
.c-data { --c: #c5b3ff; --c-strong: #7b5cf0; }
.lv-0 { --d: 0; } .lv-1 { --d: 0.5; } .lv-2 { --d: 1; } .lv-3 { --d: 1.5; } .lv-4 { --d: 2; } .lv-5 { --d: 2.5; } .lv-6 { --d: 3; } .lv-7 { --d: 3.5; } .lv-8 { --d: 4; } .lv-9 { --d: 4.5; } .lv-10 { --d: 5; } .lv-11 { --d: 5.5; }
.flow-canvas { aspect-ratio: 1000 / 330; }
.fn--app { width: 4.4%; aspect-ratio: 1 / 1; }
.fn--agent { width: 10.8%; aspect-ratio: 1 / 1; }
.fn--router { width: 4.2%; aspect-ratio: 1 / 1; }
.fn--gate { width: 14.4%; aspect-ratio: 144 / 44; }
.w-sales::before { left: 24.32%; top: 48.48%; }
.n-sales-lead { left: 7.2%; top: 48.48%; }
.n-sales-agent { left: 24.32%; top: 48.48%; }
.n-sales-agent-tool-0 { left: 18.12%; top: 82.42%; }
.n-sales-agent-tool-1 { left: 30.52%; top: 82.42%; }
.n-sales-score { left: 38.87%; top: 48.48%; }
.n-sales-ok { left: 58.56%; top: 14.55%; }
.n-sales-email { left: 75.68%; top: 14.55%; }
.n-sales-meet { left: 92.8%; top: 14.55%; }
.n-sales-nurture { left: 58.56%; top: 48.48%; }
.n-sales-reply { left: 58.56%; top: 82.42%; }
.t-sales-score-ok { left: 46.51%; top: 28.98%; }
.t-sales-score-nurture { left: 48.67%; top: 48.48%; }
.t-sales-score-reply { left: 49.2%; top: 67.99%; }
.w-support::before { left: 24.32%; top: 48.48%; }
.n-support-ticket { left: 7.2%; top: 48.48%; }
.n-support-agent { left: 24.32%; top: 48.48%; }
.n-support-agent-tool-0 { left: 18.12%; top: 82.42%; }
.n-support-agent-tool-1 { left: 30.52%; top: 82.42%; }
.n-support-kind { left: 38.87%; top: 48.48%; }
.n-support-track { left: 58.56%; top: 14.55%; }
.n-support-ok { left: 58.56%; top: 48.48%; }
.n-support-refund { left: 75.68%; top: 48.48%; }
.n-support-answer { left: 92.8%; top: 48.48%; }
.n-support-issue { left: 58.56%; top: 82.42%; }
.n-support-alert { left: 75.68%; top: 82.42%; }
.t-support-kind-track { left: 49.2%; top: 28.98%; }
.t-support-kind-ok { left: 46.17%; top: 48.48%; }
.t-support-kind-issue { left: 49.2%; top: 67.99%; }
.w-content::before { left: 27.58%; top: 48.48%; }
.n-content-video { left: 7.2%; top: 48.48%; }
.n-content-agent { left: 27.58%; top: 48.48%; }
.n-content-agent-tool-0 { left: 27.58%; top: 82.42%; }
.n-content-ok { left: 52.04%; top: 48.48%; }
.n-content-reel { left: 72.42%; top: 14.55%; }
.n-content-short { left: 72.42%; top: 48.48%; }
.n-content-post { left: 72.42%; top: 82.42%; }
.n-content-plan { left: 92.8%; top: 48.48%; }
.w-meetings::before { left: 37.7%; top: 48.48%; }
.n-meetings-call { left: 17.2%; top: 48.48%; }
.n-meetings-agent { left: 37.7%; top: 48.48%; }
.n-meetings-agent-tool-0 { left: 37.7%; top: 82.42%; }
.n-meetings-summary { left: 58.2%; top: 14.55%; }
.n-meetings-tasks { left: 58.2%; top: 48.48%; }
.n-meetings-ok { left: 60.25%; top: 82.42%; }
.n-meetings-recap { left: 78.7%; top: 14.55%; }
.n-meetings-follow { left: 82.8%; top: 82.42%; }
.w-research::before { left: 24.67%; top: 48.48%; }
.n-research-when { left: 7.2%; top: 48.48%; }
.n-research-agent { left: 24.67%; top: 48.48%; }
.n-research-agent-tool-0 { left: 18.47%; top: 82.42%; }
.n-research-agent-tool-1 { left: 30.87%; top: 82.42%; }
.n-research-writer { left: 52.62%; top: 48.48%; }
.n-research-writer-tool-0 { left: 52.62%; top: 82.42%; }
.n-research-ok { left: 74.46%; top: 48.48%; }
.n-research-brief { left: 92.8%; top: 29.82%; }
.n-research-share { left: 92.8%; top: 67.15%; }
.t-research-agent-writer { left: 38.54%; top: 48.48%; }
.w-finance::before { left: 23.98%; top: 48.48%; }
.n-finance-due { left: 7.2%; top: 48.48%; }
.n-finance-agent { left: 23.98%; top: 48.48%; }
.n-finance-agent-tool-0 { left: 23.98%; top: 82.42%; }
.n-finance-paid { left: 38.25%; top: 48.48%; }
.n-finance-match { left: 57.55%; top: 28.12%; }
.n-finance-ok { left: 58.39%; top: 68.85%; }
.n-finance-remind { left: 76.02%; top: 68.85%; }
.n-finance-tell { left: 92.8%; top: 68.85%; }
.t-finance-paid-match { left: 48.37%; top: 36.78%; }
.t-finance-paid-ok { left: 46.13%; top: 60.19%; }
.w-devops::before { left: 24.32%; top: 48.48%; }
.n-devops-error { left: 7.2%; top: 48.48%; }
.n-devops-agent { left: 24.32%; top: 48.48%; }
.n-devops-agent-tool-0 { left: 18.12%; top: 82.42%; }
.n-devops-agent-tool-1 { left: 30.52%; top: 82.42%; }
.n-devops-issue { left: 41.44%; top: 14.55%; }
.n-devops-pr { left: 41.44%; top: 48.48%; }
.n-devops-ok { left: 58.56%; top: 48.48%; }
.n-devops-deploy { left: 75.68%; top: 48.48%; }
.n-devops-done { left: 92.8%; top: 48.48%; }
.w-buying::before { left: 24.15%; top: 48.48%; }
.n-buying-low { left: 7.2%; top: 48.48%; }
.n-buying-agent { left: 24.15%; top: 48.48%; }
.n-buying-agent-tool-0 { left: 24.15%; top: 82.42%; }
.n-buying-qa { left: 41.95%; top: 14.55%; }
.n-buying-qb { left: 41.95%; top: 48.48%; }
.n-buying-qc { left: 41.95%; top: 82.42%; }
.n-buying-compare { left: 58.9%; top: 48.48%; }
.n-buying-ok { left: 75.85%; top: 48.48%; }
.n-buying-order { left: 92.8%; top: 48.48%; }
@media (max-width: 699px) {
  .flow-canvas { aspect-ratio: 400 / 708; }
  .fn--app { width: 11%; }
  .fn--agent { width: 21%; }
  .fn--router { width: 10%; }
  .fn--gate { width: 30%; aspect-ratio: 120 / 40; }
  .w-sales::before { left: 50%; top: 23.59%; }
  .n-sales-lead { left: 50%; top: 6.78%; }
  .n-sales-agent { left: 50%; top: 23.59%; }
  .n-sales-agent-tool-0 { left: 16%; top: 23.59%; }
  .n-sales-agent-tool-1 { left: 84%; top: 23.59%; }
  .n-sales-score { left: 50%; top: 40.11%; }
  .n-sales-ok { left: 16%; top: 61.44%; }
  .n-sales-email { left: 16%; top: 75.42%; }
  .n-sales-meet { left: 16%; top: 89.41%; }
  .n-sales-nurture { left: 50%; top: 61.44%; }
  .n-sales-reply { left: 84%; top: 61.44%; }
  .t-sales-score-ok { left: 21.31%; top: 54.75%; }
  .t-sales-score-nurture { left: 50%; top: 54.55%; }
  .t-sales-score-reply { left: 78.69%; top: 54.55%; }
  .w-support::before { left: 50%; top: 23.59%; }
  .n-support-ticket { left: 50%; top: 6.78%; }
  .n-support-agent { left: 50%; top: 23.59%; }
  .n-support-agent-tool-0 { left: 16%; top: 23.59%; }
  .n-support-agent-tool-1 { left: 84%; top: 23.59%; }
  .n-support-kind { left: 50%; top: 40.11%; }
  .n-support-track { left: 16%; top: 61.44%; }
  .n-support-ok { left: 50%; top: 61.44%; }
  .n-support-refund { left: 50%; top: 75.42%; }
  .n-support-answer { left: 50%; top: 89.41%; }
  .n-support-issue { left: 84%; top: 61.44%; }
  .n-support-alert { left: 84%; top: 75.42%; }
  .t-support-kind-track { left: 21.31%; top: 54.55%; }
  .t-support-kind-ok { left: 50%; top: 54.75%; }
  .t-support-kind-issue { left: 78.69%; top: 54.55%; }
  .w-content::before { left: 50%; top: 33.76%; }
  .n-content-video { left: 50%; top: 16.95%; }
  .n-content-agent { left: 50%; top: 33.76%; }
  .n-content-agent-tool-0 { left: 84%; top: 33.76%; }
  .n-content-ok { left: 50%; top: 50.28%; }
  .n-content-reel { left: 16%; top: 62.71%; }
  .n-content-short { left: 50%; top: 62.71%; }
  .n-content-post { left: 84%; top: 62.71%; }
  .n-content-plan { left: 50%; top: 79.24%; }
  .w-meetings::before { left: 50%; top: 39.83%; }
  .n-meetings-call { left: 50%; top: 23.02%; }
  .n-meetings-agent { left: 50%; top: 39.83%; }
  .n-meetings-agent-tool-0 { left: 84%; top: 39.83%; }
  .n-meetings-summary { left: 16%; top: 59.18%; }
  .n-meetings-tasks { left: 50%; top: 59.18%; }
  .n-meetings-ok { left: 84%; top: 59.18%; }
  .n-meetings-recap { left: 16%; top: 73.16%; }
  .n-meetings-follow { left: 84%; top: 73.16%; }
  .w-research::before { left: 50%; top: 28.39%; }
  .n-research-when { left: 50%; top: 11.58%; }
  .n-research-agent { left: 50%; top: 28.39%; }
  .n-research-agent-tool-0 { left: 16%; top: 28.39%; }
  .n-research-agent-tool-1 { left: 84%; top: 28.39%; }
  .n-research-writer { left: 50%; top: 55.65%; }
  .n-research-writer-tool-0 { left: 84%; top: 55.65%; }
  .n-research-ok { left: 50%; top: 72.18%; }
  .n-research-brief { left: 31.3%; top: 84.6%; }
  .n-research-share { left: 68.7%; top: 84.6%; }
  .t-research-agent-writer { left: 50%; top: 46.14%; }
  .w-finance::before { left: 50%; top: 23.59%; }
  .n-finance-due { left: 50%; top: 6.78%; }
  .n-finance-agent { left: 50%; top: 23.59%; }
  .n-finance-agent-tool-0 { left: 84%; top: 23.59%; }
  .n-finance-paid { left: 50%; top: 40.11%; }
  .n-finance-match { left: 29.6%; top: 61.44%; }
  .n-finance-ok { left: 70.4%; top: 61.44%; }
  .n-finance-remind { left: 70.4%; top: 75.42%; }
  .n-finance-tell { left: 70.4%; top: 89.41%; }
  .t-finance-paid-match { left: 32.79%; top: 54.55%; }
  .t-finance-paid-ok { left: 67.21%; top: 54.75%; }
  .w-devops::before { left: 50%; top: 28.04%; }
  .n-devops-error { left: 50%; top: 11.23%; }
  .n-devops-agent { left: 50%; top: 28.04%; }
  .n-devops-agent-tool-0 { left: 16%; top: 28.04%; }
  .n-devops-agent-tool-1 { left: 84%; top: 28.04%; }
  .n-devops-issue { left: 16%; top: 47.39%; }
  .n-devops-pr { left: 50%; top: 47.39%; }
  .n-devops-ok { left: 50%; top: 61.09%; }
  .n-devops-deploy { left: 50%; top: 70.97%; }
  .n-devops-done { left: 50%; top: 84.96%; }
  .w-buying::before { left: 50%; top: 26.77%; }
  .n-buying-low { left: 50%; top: 9.96%; }
  .n-buying-agent { left: 50%; top: 26.77%; }
  .n-buying-agent-tool-0 { left: 84%; top: 26.77%; }
  .n-buying-qa { left: 16%; top: 46.12%; }
  .n-buying-qb { left: 50%; top: 46.12%; }
  .n-buying-qc { left: 84%; top: 46.12%; }
  .n-buying-compare { left: 50%; top: 62.64%; }
  .n-buying-ok { left: 50%; top: 76.34%; }
  .n-buying-order { left: 50%; top: 86.23%; }
}
#fw-sales:checked ~ .flow-stage .w-sales,
#fw-support:checked ~ .flow-stage .w-support,
#fw-content:checked ~ .flow-stage .w-content,
#fw-meetings:checked ~ .flow-stage .w-meetings,
#fw-research:checked ~ .flow-stage .w-research,
#fw-finance:checked ~ .flow-stage .w-finance,
#fw-devops:checked ~ .flow-stage .w-devops,
#fw-buying:checked ~ .flow-stage .w-buying { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
#fw-sales:checked ~ .flow-bar .p-sales,
#fw-support:checked ~ .flow-bar .p-support,
#fw-content:checked ~ .flow-bar .p-content,
#fw-meetings:checked ~ .flow-bar .p-meetings,
#fw-research:checked ~ .flow-bar .p-research,
#fw-finance:checked ~ .flow-bar .p-finance,
#fw-devops:checked ~ .flow-bar .p-devops,
#fw-buying:checked ~ .flow-bar .p-buying { color: var(--ink); background: var(--paper); border-color: var(--line-2); }
#fw-sales:focus-visible ~ .flow-bar .p-sales,
#fw-support:focus-visible ~ .flow-bar .p-support,
#fw-content:focus-visible ~ .flow-bar .p-content,
#fw-meetings:focus-visible ~ .flow-bar .p-meetings,
#fw-research:focus-visible ~ .flow-bar .p-research,
#fw-finance:focus-visible ~ .flow-bar .p-finance,
#fw-devops:focus-visible ~ .flow-bar .p-devops,
#fw-buying:focus-visible ~ .flow-bar .p-buying { outline: 2px solid var(--ink); outline-offset: 2px; }
