:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #bae6fd;
  --bg: #f0f9ff;
  --card: #ffffff;
  --soft: #e0f2fe;
  --brand: #38bdf8;
  --brand-deep: #0369a1;
  --ok: #0f766e;
  --ok-bg: #ccfbf1;
  --chip: #e0f2fe;
  --sans: "Source Sans 3", "Liberation Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --shadow: 0 22px 50px -30px rgba(3, 105, 161, 0.45);
  --fs-body: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(700px 360px at 96% 0%, rgba(186, 230, 253, 0.55), transparent 50%),
    linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 48%, #f8fbff 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-deep); text-decoration: none; }
img { max-width: 100%; display: block; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: color-mix(in srgb, #f0f9ff 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: inherit;
  flex: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 18px -12px rgba(3, 105, 161, 0.7);
  background: var(--soft);
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: 8px;
  align-items: center;
}
.nav-links > a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}
.nav-links > a.on, .nav-links > a:hover {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid var(--line);
}
.meta { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.btn {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  color: inherit;
}
.btn.primary { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn.ghost { background: transparent; }
.btn.light { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn.xl { padding: 16px 24px; font-size: 18px; }
.btn:hover { filter: brightness(1.04); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 22px 22px 72px; }
.section { padding: 48px 0 8px; scroll-margin-top: 84px; }
.section-head { max-width: 820px; margin-bottom: 24px; }
.kicker {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 10px;
}
h1, h2, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.12; }
.lede { color: var(--muted); font-size: 21px; line-height: 1.5; margin: 12px 0 0; }
.chip {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--chip);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 15px;
  font-weight: 700;
}
.chip.ok { background: var(--ok-bg); color: var(--ok); border-color: #99f6e4; }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.15fr);
  align-items: stretch;
  border-radius: 28px;
  overflow: hidden;
  min-height: 0;
  background: #0f172a;
  box-shadow: var(--shadow);
}
.hero-art {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 420px;
  max-height: 520px;
  overflow: hidden;
  background: #0b1220;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-veil {
  display: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  color: #f8fbff;
  border-radius: 0;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy .kicker { color: #7dd3fc; }
.hero-copy h1 {
  font-size: clamp(44px, 6vw, 62px);
  line-height: 1.05;
  color: #fff;
  margin-top: 6px;
}
.hero-copy .lede {
  color: rgba(248, 251, 255, 0.92);
  max-width: 38ch;
  font-size: 22px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-cta .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-meta .chip {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.15fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 8px;
}
.page-hero .section-head { margin-bottom: 0; max-width: none; }
.page-hero .feature-visual { margin: 0; }
.page-hero .feature-visual img {
  aspect-ratio: 4 / 3;
  max-height: 420px;
}

.stat-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.stat {
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: color-mix(in srgb, #fff 78%, transparent);
  border: 1px solid var(--line);
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 48px);
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.stat strong { display: block; font-size: 20px; margin: 6px 0 8px; }
.stat p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }

.lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.lang-row .chip { background: #fff; }

.promise-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.promise {
  padding: 18px 20px;
  border-radius: 18px;
  background: color-mix(in srgb, #fff 70%, transparent);
  border: 1px solid var(--line);
}
.promise strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 8px;
}
.promise p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: center;
}
.split.rev { grid-template-columns: 1fr 1.15fr; }
.split img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--soft);
  aspect-ratio: 4 / 3;
  max-height: 440px;
  object-fit: cover;
}
.split h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 36px);
  margin: 0 0 10px;
}
.split ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.split li strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 2px;
}
.split li span { color: var(--muted); font-size: 18px; line-height: 1.45; }

.agent-grid, .outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.agent, .outcome {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 16px 40px -32px rgba(3, 105, 161, 0.4);
}
.agent img, .outcome img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  background: var(--soft);
  margin-bottom: 12px;
}
.outcome img { aspect-ratio: 16 / 10; }
.agent h3, .outcome h3 {
  font-family: var(--display);
  font-size: 24px;
  margin: 0 0 6px;
}
.agent p, .outcome p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }

.feature-visual {
  margin: 0 0 22px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--soft);
}
.feature-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: 380px;
  object-fit: cover;
  object-position: center 40%;
}
.feature-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
}
.feature-points strong {
  font-family: var(--display);
  font-size: 24px;
  display: block;
  margin-bottom: 6px;
}
.feature-points span { color: var(--muted); font-size: 18px; line-height: 1.5; }

.vendor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vendor-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}
.vendor-card.wide { grid-column: 1 / -1; }
.vendor-card .role {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 6px;
}
.vendor-card h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 8px;
}
.vendor-card p {
  margin: 0 0 0.75em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
.vendor-card p:last-child { margin-bottom: 0; }
.vendor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
}

.cta-banner {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
}
.cta-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner .copy {
  position: relative;
  z-index: 1;
  padding: 28px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.25));
  color: #fff;
}
.cta-banner h3 {
  font-family: var(--display);
  font-size: 32px;
  margin: 0 0 8px;
}
.cta-banner p { margin: 0 0 14px; color: rgba(248, 251, 255, 0.9); max-width: 52ch; font-size: 20px; }

.industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.industry {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
}
.industry .role {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 8px;
}
.industry h3 {
  font-family: var(--display);
  font-size: 24px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.industry p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.industry .tile,
.agent .example,
.outcome .example {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.hud-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}
.hud-fig {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px -32px rgba(3, 105, 161, 0.4);
}
.hud-fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #e0f2fe;
}
.hud-fig figcaption {
  padding: 14px 18px 16px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.hud-fig figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--ink);
}
.industry.shot {
  padding: 0;
  overflow: hidden;
}
.industry.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #e0f2fe;
}
.industry.shot .pad {
  padding: 18px 20px 20px;
}
.prose {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 74ch;
}
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.benefit-grid li strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 4px;
}
.benefit-grid li span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.signup-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}
.signup-art {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
  box-shadow: var(--shadow);
}
.signup-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.signup-art .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 22px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85), transparent);
  color: #fff;
}
.signup-art h2 { font-size: 32px; margin: 0 0 8px; }
.signup-art p { margin: 0; color: rgba(248, 251, 255, 0.88); font-size: 18px; }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.form-card h1 { font-size: 38px; margin: 0 0 8px; }
.form-card .lede { margin-top: 0; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .optional { font-weight: 600; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8fbff;
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-deep) 50%),
    linear-gradient(135deg, var(--brand-deep) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  border-color: var(--brand);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.challenge-set {
  margin: 4px 0 16px;
  padding: 14px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}
.challenge-set legend {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 4px;
}
.challenge-set .field-hint { margin: 0 0 10px; font-size: 16px; color: var(--muted); }
.challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 17px;
  font-weight: 600;
}
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.done { text-align: center; }
.done img { width: 180px; height: 180px; object-fit: cover; border-radius: 32px; margin: 0 auto 16px; background: var(--soft); }

.foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 16px;
  margin-top: 48px;
}
.foot .bar {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
}
.foot .version-stamp {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink-soft);
}
.foot .version-stamp:empty { display: none; }

/* Network laser dots — travel left→right and up over the swarm art */
.swarm-lasers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.swarm-lasers .node,
.swarm-lasers .pkt {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 22%, #7dd3fc 38%, #38bdf8 58%, transparent 72%);
  box-shadow:
    0 0 10px 4px rgba(125, 211, 252, 0.95),
    0 0 28px 12px rgba(56, 189, 248, 0.55);
}
.swarm-lasers .node {
  animation: node-glow 3.4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.swarm-lasers .pkt {
  left: 0;
  top: 0;
  margin: 0;
  width: 16px;
  height: 16px;
  animation: pkt-lr-up var(--dur, 4.6s) linear infinite;
  animation-delay: var(--delay, 0s);
  offset-path: none;
}
@keyframes node-glow {
  0%, 100% { opacity: 0.12; transform: scale(0.65); }
  42% { opacity: 1; transform: scale(1.35); }
}
@keyframes pkt-lr-up {
  0% {
    left: var(--x0);
    top: var(--y0);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  8% { opacity: 1; }
  78% { opacity: 1; }
  100% {
    left: var(--x1);
    top: var(--y1);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .swarm-lasers .node,
  .swarm-lasers .pkt { animation: none; opacity: 0.55; }
}

@media (max-width: 1100px) {
  .industry-grid, .hud-pair, .agent-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .stat-band, .promise-band, .agent-grid, .outcomes, .feature-points, .split, .split.rev,
  .signup-shell, .field-row, .challenge-grid, .vendor-grid, .industry-grid, .benefit-grid,
  .hud-pair, .page-hero, .hero {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .hero { min-height: 0; }
  .hero-art {
    grid-column: 1;
    grid-row: 1;
    min-height: 220px;
    max-height: 280px;
  }
  .hero-copy { grid-column: 1; grid-row: 2; }
}

.sample-banner {
  margin: 0;
  padding: 10px 18px;
  background: #0f172a;
  color: #e0f2fe;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.login-page .wrap { max-width: 520px; padding-top: 48px; }
.login-page .form-card h1 { font-size: 32px; }
.login-status { min-height: 1.4em; font-size: 16px; color: var(--ok); margin: 8px 0 0; }
.login-status.err { color: #b45309; }
.desk { display: none; }
.desk.on { display: block; }
.desk-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.desk-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.desk-card h2 { margin: 0 0 6px; font-size: 20px; }
.desk-card p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.desk-stats {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #0f172a;
  color: #e0f2fe;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  overflow: auto;
}
.docs-list { display: grid; gap: 14px; margin-top: 22px; }
.docs-list article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.docs-list h2 { margin: 0 0 6px; font-size: 22px; }
.docs-list p { margin: 0; color: var(--ink-soft); font-size: 18px; }

