/* jinban.ai — landing
   Type: Geist (display + body), Instrument Serif (editorial moments), JetBrains Mono (system voice)
   Color: near-white #FAFAFA, ink #0A0A0A, brand gold #FFE44D, EU blue accent only in sovereignty
   Source-of-truth for design tokens. Mirrored at app-src/src/ui/tokens.css — keep in sync.
*/

:root {
  --bg: #FAFAFA;
  --ink: #0A0A0A;
  --ink-2: #1F1F1F;
  --muted: #737373;
  --line: #E6E6E6;
  --line-strong: #CFCFCF;
  --card: #FFFFFF;
  --surface: #F0F0F0;
  --bg-2: #F0F0F0;
  --gold: #FFE44D;
  --gold-deep: #C78A05;
  --eu: #003399;
  --green: #1b5e20;
  --green-bright: #4caf50;
  --purple: #7b1fa2;
  --red: #D92626;

  --container: 1240px;
  --gutter: 32px;
  --r: 8px;
  --r-sm: 4px;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --focus-ring: 0 0 0 3px rgba(10, 10, 10, 0.06);
  --focus-ring-invalid: 0 0 0 3px rgba(217, 38, 38, 0.1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =============== NAV =============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
  text-decoration: none;
  color: var(--ink);
}
.nav__logo img { width: 26px; height: 26px; }
.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  transition: border-color .15s;
}
.nav__links a:hover { border-color: var(--ink); }
.nav__cta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.nav__cta a:first-child {
  text-decoration: none;
  padding: 8px 14px;
}
/* CODESYNC: app-src/src/ui/primitives.css :btn rules. Keep these byte-identical. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform .1s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* =============== HERO =============== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__dither {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(76,175,80, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76,175,80, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(76,175,80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80, 0); }
}

.hero h1 {
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 600;
  max-width: 16ch;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: 21px;
  line-height: 1.4;
  max-width: 56ch;
  color: var(--ink-2);
  margin: 0 0 36px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero__ctas .meta {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-left: 8px;
}

/* =============== AI BUILDER =============== */
.ai-builder {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 24px 48px -24px rgba(0,0,0,0.12);
}

.ai-prompt {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, #fff, #fafafa);
}
.ai-prompt__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gold-deep);
}
.ai-prompt input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 17px;
  font-family: var(--font-sans);
  padding: 8px 8px;
  outline: none;
  color: var(--ink);
}
.ai-prompt input::placeholder { color: var(--muted); }
.ai-prompt button {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  padding: 10px 18px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.ai-prompt button:hover:not(:disabled) { background: #000; }
.ai-prompt button:disabled { opacity: 0.5; cursor: not-allowed; }

.ai-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fcfcfc;
}
.ai-samples__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 4px;
}
.ai-sample {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font-sans);
}
.ai-sample:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.ai-thinking {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff;
}
.ai-thinking__dither {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}
.ai-thinking__msg {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(255,255,255,0.92);
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-thinking__cursor {
  width: 8px; height: 14px;
  background: var(--ink);
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.ai-result__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 16px;
  flex-wrap: wrap;
}
.ai-result__title { display: flex; align-items: center; gap: 12px; }
.ai-result__chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  background: var(--ink);
  color: var(--gold);
  padding: 3px 8px;
  border-radius: 3px;
}
.ai-result__title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ai-result__actions { display: flex; gap: 6px; }
.ai-tab {
  font-family: var(--font-sans);
  font-size: 12.5px;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 6px 12px;
  border-radius: var(--r);
  cursor: pointer;
  color: var(--ink-2);
  transition: all .15s;
}
.ai-tab:hover { background: var(--surface); }
.ai-tab.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.ai-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}
.ai-col {
  background: var(--surface);
  padding: 12px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .15s;
}
.ai-col:hover { background: #ebebeb; }
.ai-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding: 0 2px 4px;
}
.ai-col__count {
  font-family: var(--font-mono);
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 400;
  letter-spacing: 0;
}
.ai-col__cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ai-card {
  background: #fff;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  cursor: grab;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  animation: cardIn .35s ease both;
  transition: border-color .15s, transform .1s;
}
.ai-card:hover { border-color: var(--gold); }
.ai-card:active { cursor: grabbing; transform: scale(0.98); }
.ai-card__title { display: flex; align-items: flex-start; gap: 0; line-height: 1.35; }
.ai-card__meta { display: flex; gap: 6px; margin-top: 8px; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-card-add {
  background: transparent;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  padding: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-sans);
  margin-top: 4px;
}
.ai-card-add:hover { color: var(--ink); border-color: var(--ink); }

.ai-automations {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fcfcfc;
  min-height: 280px;
}
.ai-auto {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  animation: cardIn .35s ease both;
}
.ai-auto__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.ai-auto code {
  font-family: var(--font-mono);
  font-size: 13px;
  flex: 1;
  color: var(--ink);
}
.ai-auto__status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: rgba(27, 94, 32, 0.08);
  border-radius: 3px;
}
.ai-auto-add {
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  cursor: pointer;
}
.ai-auto-add:hover { color: var(--ink); border-color: var(--ink); }

.ai-result__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fcfcfc;
}
.ai-result__footer-cta {
  color: var(--ink);
  cursor: pointer;
}
.ai-result__footer-cta:hover { text-decoration: underline; }

/* =============== SECTIONS =============== */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section--dark {
  background: var(--ink);
  color: var(--bg);
  border-top-color: transparent;
}
.section--dark .section__label { color: rgba(255,255,255,0.6); }
.section--dark .section__title { color: var(--bg); }
.section--dark .section__lede { color: rgba(255,255,255,0.7); }

.section--dense { padding: 70px 0; }

.section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section__label::before {
  content: '';
  display: inline-block;
  width: 18px; height: 1px;
  background: currentColor;
}
.section__title {
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 20px;
  font-weight: 600;
  max-width: 22ch;
}
.section__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.section__lede {
  font-size: 19px;
  line-height: 1.5;
  max-width: 60ch;
  color: var(--ink-2);
  margin: 0 0 56px;
}
.section--dark .section__lede { color: rgba(255,255,255,0.7); }

/* =============== LOGO STRIP =============== */
.logo-strip {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.logo-strip__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  flex-wrap: wrap;
  justify-content: space-between;
}
.logo-strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}
.logo-strip__logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink-2);
  letter-spacing: -0.02em;
  align-items: center;
}
.logo-strip__logos span {
  opacity: 0.65;
  font-weight: 400;
}

/* =============== THREE-UP =============== */
.threeup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.threeup__item {
  padding: 36px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--bg);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.threeup__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 24px;
}
.threeup__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.threeup__title {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 600;
}
.threeup__body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* =============== MULTI VIEW =============== */
.multiview {
  border: 1px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.multiview__tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.multiview__tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  border-right: 1px solid var(--line);
  transition: all .15s;
}
.multiview__tab:last-child { border-right: 0; }
.multiview__tab:hover { background: #fff; color: var(--ink); }
.multiview__tab.is-active {
  background: #fff;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
}
.multiview__stage {
  padding: 24px;
  min-height: 400px;
  background: #fff;
}

.mv-card {
  background: #fff;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.02);
}
.mv-card__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.mv-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--surface);
  padding: 16px;
  border-radius: var(--r);
}
.mv-col {
  background: #ebebeb;
  border-radius: var(--r-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 320px;
}
.mv-col__head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.mv-col__head span { color: var(--muted); font-weight: 400; }

.mv-swim {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mv-swim__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 12px;
  background: var(--surface);
  border-radius: var(--r);
}
.mv-swim__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  align-self: center;
}
.mv-swim__items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mv-sprint__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r);
}
.mv-sprint__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.mv-sprint__sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.mv-sprint__stats { display: flex; gap: 28px; }
.mv-sprint__stats > div { text-align: right; }
.mv-sprint__stats strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
}
.mv-sprint__stats span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mv-burndown {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  background: #fff;
}

.mv-table {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  font-size: 13px;
}
.mv-table__head, .mv-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.6fr 0.6fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.mv-table__head {
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.mv-table__row:last-child { border-bottom: 0; }
.mv-table__row:hover { background: #fcfcfc; }

/* =============== AGENTS =============== */
.agent-diagram {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.agent-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.agent-node {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  padding: 20px;
  border-radius: var(--r);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.agent-node--accent {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.agent-node__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 12px;
}
.agent-node--accent .agent-node__label { opacity: 0.7; }
.agent-node__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.agent-node__title code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
}
.agent-arrow {
  font-family: var(--font-mono);
  font-size: 22px;
  opacity: 0.4;
  color: var(--gold);
}
.agent-code {
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  overflow: hidden;
  font-family: var(--font-mono);
}
.agent-code__head {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.agent-code__pill {
  font-size: 10px;
  background: rgba(76,175,80,0.15);
  color: var(--green-bright);
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.agent-code pre {
  margin: 0;
  padding: 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  white-space: pre-wrap;
}

/* =============== LEAD CRM =============== */
.leadcrm { display: flex; flex-direction: column; gap: 32px; }
.leadcrm__pipe {
  display: flex;
  align-items: stretch;
  gap: 4px;
  background: var(--surface);
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.leadcrm__stage {
  flex: 1;
  background: #fff;
  padding: 16px;
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.leadcrm__stage-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.leadcrm__stage-n {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
}
.leadcrm__stage-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.leadcrm__stage-bar > div {
  height: 100%;
  background: var(--gold-deep);
}
.leadcrm__arrow {
  font-size: 20px;
  color: var(--muted);
  align-self: center;
}

.leadcrm__sync {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
}
.leadcrm__sync-side {
  text-align: center;
  padding: 16px;
}
.leadcrm__sync-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.leadcrm__sync-sub {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 4px;
}
.leadcrm__sync-arrows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

/* =============== COLLAB =============== */
.collab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.collab__board {
  padding: 20px;
  background: var(--surface);
  display: flex;
  gap: 12px;
}
.collab__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.collab__col-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.collab__card {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 12px;
  font-size: 13px;
  border: 1px solid var(--line);
}
.collab__card--focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(199, 138, 5, 0.12);
}
.collab__card-title { font-weight: 500; margin-bottom: 8px; }
.collab__card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.collab__pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.collab__pill--live {
  background: rgba(217, 38, 38, 0.1);
  color: var(--red);
}
.collab__avatars { display: flex; gap: -8px; }
.collab__avatars span {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 10px;
  font-weight: 500;
  border: 2px solid #fff;
  margin-left: -6px;
}
.collab__avatars span:first-child { margin-left: 0; }

.collab__chat {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.collab__chat-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
}
.collab__chat-presence {
  font-size: 11px;
  color: var(--green);
  font-family: var(--font-mono);
}
.collab__msgs {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.collab__msg { font-size: 13px; line-height: 1.5; }
.collab__msg strong { font-weight: 500; font-size: 13px; }
.collab__msg p { margin: 2px 0 4px; color: var(--ink-2); }
.collab__msg time { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.collab__msg--ai strong { color: var(--gold-deep); }
.collab__msg--ai p {
  background: rgba(199, 138, 5, 0.06);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border-left: 2px solid var(--gold-deep);
}
.collab__msg--ai a {
  color: var(--gold-deep);
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}
.collab__compose {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.collab__compose-mic { color: var(--red); }

/* =============== INTEGRATIONS =============== */
.integrations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.integration {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  transition: background .15s;
}
.integration:hover { background: #fff; }
.integration__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.integration__name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  flex: 1;
  min-width: 0;
}
.integration__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}
.integration__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* =============== SOVEREIGNTY =============== */
.sovereignty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sov-map {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
}
.sov-points {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.sov-point {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  transform: translate(-50%, -50%);
}
.sov-point__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold);
  animation: pulse-gold 2.5s infinite;
}
.sov-point:nth-child(2) .sov-point__dot { animation-delay: 0.5s; }
.sov-point:nth-child(3) .sov-point__dot { animation-delay: 1s; }
.sov-point:nth-child(4) .sov-point__dot { animation-delay: 1.5s; }
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(255,228,77, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255,228,77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255,228,77, 0); }
}

.sov-list { display: flex; flex-direction: column; gap: 24px; }
.sov-list__item {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
}
.sov-list__item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}
.sov-list__item h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.sov-list__item p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}

/* =============== SECURITY DENSE =============== */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sec-item {
  background: var(--bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sec-item__title {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.sec-item__sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* =============== PRICING =============== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tier {
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier--featured {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.tier__ribbon {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
}
.tier__name {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.tier__price {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier--featured .tier__price { color: var(--gold); }
.tier__sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
}
.tier--featured .tier__sub { color: rgba(255,255,255,0.6); }
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tier li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.tier li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-family: var(--font-mono);
}
.tier--featured li::before { color: var(--gold); }
.tier__cta {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  padding: 12px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.tier--featured .tier__cta {
  background: var(--gold);
  color: var(--ink);
}
.tier:not(.tier--featured) .tier__cta:hover { background: #000; }

/* =============== FINAL CTA =============== */
.final-cta {
  position: relative;
  padding: 140px 0;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
}
.final-cta__dither {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}
.final-cta__inner {
  position: relative;
  text-align: center;
  z-index: 1;
}
.final-cta h2 {
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 24px;
  font-weight: 600;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.final-cta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.final-cta p {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
  margin: 0 auto 40px;
}
.final-cta__form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r);
  padding: 6px;
}
.final-cta__form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 10px 14px;
  color: var(--bg);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.final-cta__form input::placeholder { color: rgba(255,255,255,0.5); }
.final-cta__form button {
  background: var(--gold);
  color: var(--ink);
  border: 0;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}

/* =============== FOOTER =============== */
.footer {
  background: #fff;
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer__brand img { width: 32px; height: 32px; }
.footer__brand p { color: var(--muted); margin: 0; line-height: 1.5; }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer__col a:hover { text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* =============== SPLIT CTA =============== */
.splitcta {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.splitcta__main {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: 1px solid rgba(0,0,0,0.15) !important;
}
.splitcta__chev {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  padding: 0 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold) !important;
  color: var(--ink) !important;
  border: 0;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.splitcta__chev svg { transition: transform .2s ease; }
.splitcta__chev.is-open svg { transform: rotate(180deg); }
.splitcta__chev:hover { background: var(--gold-deep) !important; color: #fff !important; }
.splitcta__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 340px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.25);
  padding: 8px;
  z-index: 50;
  animation: splitMenuIn .15s ease;
}
@keyframes splitMenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.splitcta__menu-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 8px 10px 6px;
}
.splitcta__item {
  display: flex;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  align-items: center;
  transition: background .12s;
  cursor: pointer;
}
.splitcta__item:hover { background: var(--bg-2); }
.splitcta__icon {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.splitcta__icon--gold { background: var(--gold); color: var(--ink); }
.splitcta__icon--ink { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }
.splitcta__title {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.splitcta__pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: var(--ink);
  color: var(--bg);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.splitcta__sub {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* =============== AGENT BUILDER ANIMATION =============== */
.agent-builder {
  background: #0F0F0F;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.agent-builder__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(to bottom, #161616, #0F0F0F);
  font-size: 12px;
}
.agent-builder__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,228,77,0.1);
  color: var(--gold);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.agent-builder__tab-icon {
  font-size: 13px;
}
.agent-builder__breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  flex: 1;
}
.agent-builder__breadcrumb span:last-child { color: rgba(255,255,255,0.85); }
.agent-builder__sep { margin: 0 8px; opacity: 0.5; }
.agent-builder__replay {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: all .15s;
}
.agent-builder__replay:hover {
  background: rgba(255,255,255,0.05);
  color: var(--gold);
  border-color: var(--gold);
}

.agent-builder__body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  min-height: 520px;
}

.agent-builder__prompt {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  background: #0A0A0A;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.agent-builder__prompt-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}
.agent-builder__sparkle {
  font-size: 14px;
  animation: sparkle 2s infinite;
}
@keyframes sparkle {
  0%, 100% { opacity: 0.6; transform: rotate(0); }
  50% { opacity: 1; transform: rotate(180deg); }
}

.agent-builder__prompt-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,228,77,0.25);
  border-radius: 8px;
  padding: 14px 16px;
  min-height: 110px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--bg);
  font-family: var(--font-sans);
  position: relative;
  box-shadow: 0 0 0 0 rgba(255,228,77, 0.3);
  animation: promptGlow 2.4s infinite;
}
@keyframes promptGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,228,77, 0); }
  50% { box-shadow: 0 0 0 4px rgba(255,228,77, 0.08); }
}
.agent-builder__prompt-text { white-space: pre-wrap; }
.agent-builder__cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--gold);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}

.agent-builder__assist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
}
.agent-builder__assist-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright);
  animation: pulse 1.4s infinite;
}

.agent-builder__canvas {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  background:
    radial-gradient(circle at 20px 20px, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 20px 20px,
    #0F0F0F;
}

.agent-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.agent-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.agent-step__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
}
.agent-step__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,228,77,0.1);
  border: 1px solid rgba(255,228,77,0.3);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: var(--font-mono);
  transition: all .3s;
}
.agent-step.is-active .agent-step__icon {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(255,228,77, 0.2);
  transform: scale(1.05);
}
.agent-step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}
.agent-step__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px 18px;
  transition: border-color .3s;
}
.agent-step.is-active .agent-step__card {
  border-color: rgba(255,228,77,0.5);
  background: rgba(255,228,77,0.04);
}
.agent-step__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--bg);
}
.agent-step__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.4;
}
.agent-step__chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.agent-step__chips span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  animation: chipIn .35s ease both;
}
.agent-step.is-visible .agent-step__chips span:nth-child(1) { animation-delay: 0.15s; }
.agent-step.is-visible .agent-step__chips span:nth-child(2) { animation-delay: 0.25s; }
.agent-step.is-visible .agent-step__chips span:nth-child(3) { animation-delay: 0.35s; }
.agent-step.is-visible .agent-step__chips span:nth-child(4) { animation-delay: 0.45s; }
@keyframes chipIn {
  to { opacity: 1; }
}

.agent-step__route {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.agent-step__route code {
  background: rgba(255,228,77,0.12);
  color: var(--gold);
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 4px;
}
.agent-step__dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.agent-connector {
  display: flex;
  justify-content: flex-start;
  padding-left: 38px;
  height: 24px;
  position: relative;
}
.agent-connector__line {
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, rgba(255,228,77,0.6), rgba(255,228,77,0.1));
  transition: height .4s ease;
}
.agent-connector.is-visible .agent-connector__line {
  height: 100%;
}

.agent-publish {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(76,175,80, 0.1);
  border: 1px solid rgba(76,175,80, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: publishIn .4s ease;
}
@keyframes publishIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.agent-publish__check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.agent-publish__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
}
.agent-publish__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.agent-publish__btn {
  margin-left: auto;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  padding: 8px 14px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.agent-builder__foot {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .agent-builder__body { grid-template-columns: 1fr; }
  .agent-builder__prompt { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}


.agent-flowchart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  overflow: hidden;
}
.agent-flowchart__head {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.flow-steps {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 20px 4px;
  position: relative;
}
.flow-step--and {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.flow-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  padding-top: 2px;
}
.flow-step__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.flow-step__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.flow-step__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.flow-step__chips span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255,228,77,0.1);
  color: var(--gold);
  border-radius: 3px;
}
.flow-step__route {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.8);
}
.flow-step__dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* =============== LEAD ENRICHMENT =============== */
.lead-enrich {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 8px 0;
}
.lead-enrich__card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 12px 40px -16px rgba(0,0,0,0.18);
}
.lead-enrich__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.lead-enrich__company {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lead-enrich__meta {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 4px;
}
.lead-enrich__score {
  text-align: right;
  background: var(--gold);
  padding: 8px 14px;
  border-radius: var(--r);
}
.lead-enrich__score-n {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
  line-height: 1;
}
.lead-enrich__score-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.lead-enrich__rows {
  padding: 8px 20px;
}
.lead-enrich__rows > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.lead-enrich__rows > div:last-child { border-bottom: 0; }
.lead-enrich__row {
  opacity: 0.35;
  transition: opacity .3s, background .5s;
}
.lead-enrich__row.is-visible { opacity: 1; }
.lead-enrich__row.is-fresh {
  background: rgba(255,228,77,0.12);
  animation: rowFlash 0.9s ease;
}
@keyframes rowFlash {
  0% { background: rgba(255,228,77,0.25); }
  100% { background: transparent; }
}
.lead-enrich__placeholder {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 14px;
}
.lead-enrich__placeholder span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  animation: dotPulse 1s infinite;
  font-family: inherit !important;
  font-size: 0 !important;
  padding: 0 !important;
}
.lead-enrich__placeholder span:nth-child(2) { animation-delay: 0.15s; }
.lead-enrich__placeholder span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}
.lead-enrich__score.is-done {
  animation: scorePop .5s ease;
}
@keyframes scorePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.lead-enrich__spin {
  display: inline-block;
  width: 10px; height: 10px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-top-color: var(--gold-deep);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lead-enrich__rows span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 2px;
}
.lead-enrich__rows strong { font-weight: 500; color: var(--ink); }
.lead-enrich__foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fcfcfc;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.lead-enrich__by code {
  background: rgba(199,138,5,0.1);
  color: var(--gold-deep);
  padding: 1px 6px;
  border-radius: 3px;
}
.lead-enrich__time { color: var(--green); }

.lead-enrich__copy h3.lead-enrich__title {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 600;
}
.lead-enrich__copy h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.lead-enrich__copy p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.lead-enrich__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lead-enrich__bullets li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
  color: var(--ink-2);
}
.lead-enrich__bullets li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-weight: 500;
}

@media (max-width: 980px) {
  .lead-enrich { grid-template-columns: 1fr; gap: 32px; }
  .flow-step { grid-template-columns: 1fr; gap: 8px; }
}

/* =============== RESPONSIVE =============== */
@media (max-width: 980px) {
  .threeup, .integrations, .pricing, .sec-grid, .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .agent-flow { grid-template-columns: 1fr; gap: 8px; }
  .agent-arrow { transform: rotate(90deg); padding: 4px 0; }
  .sovereignty { grid-template-columns: 1fr; gap: 40px; }
  .ai-kanban { grid-template-columns: repeat(2, 1fr); }
  .leadcrm__pipe { flex-wrap: wrap; }
  .collab { grid-template-columns: 1fr; }
  .collab__chat { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .threeup, .integrations, .pricing, .sec-grid, .footer__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .ai-kanban { grid-template-columns: 1fr; }
  .ai-prompt { flex-wrap: wrap; }
  .ai-prompt input { width: 100%; }
  .mv-columns { grid-template-columns: repeat(2, 1fr); }
}
