/* FloorFound.ai — main stylesheet
   Dark canvas, tight geometric sans, warm copper accent.
   Reference direction: Linear.app + Harvey.ai + GHST.io */

:root {
  --canvas: #0A0B0F;
  --elevated: #14161C;
  --border: #26282F;
  --border-soft: #1B1D23;
  --text: #F5F5F7;
  --text-muted: #9B9CA1;
  --text-dim: #6E7078;
  --accent: #F5A45D;              /* warm copper */
  --accent-soft: rgba(245, 164, 93, 0.10);
  --accent-line: rgba(245, 164, 93, 0.32);
  --positive: #6EE7B7;
  --shadow-glow: 0 0 60px rgba(245, 164, 93, 0.08);

  --f-display: -apple-system, "Inter Display", "Inter", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-body: -apple-system, "Inter", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-mono: "SF Mono", "IBM Plex Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --max-content: 1240px;
  --gutter-x: 32px;
  --gutter-x-mobile: 20px;
}

* { box-sizing: border-box; }

html {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--canvas);
}

/* subtle noise/grain for premium dark feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(245, 164, 93, 0.04), transparent 40%),
                    radial-gradient(circle at 85% 30%, rgba(120, 140, 200, 0.03), transparent 40%);
}

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

/* -----------------------------------------------------------
   Layout primitives
----------------------------------------------------------- */
.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--gutter-x);
  position: relative;
  z-index: 1;
}

/* -----------------------------------------------------------
   Nav
----------------------------------------------------------- */
/* Sticky top: marquee + nav stacked, both pin */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 15, 0.82);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  padding: 18px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__brand-mark {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}
.nav__brand-name {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1;
  display: inline-flex;
}
.nav__brand-name--bold { font-weight: 800; }
.nav__brand-name--thin { font-weight: 200; letter-spacing: 0.08em; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
}
.nav__link {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav__link:hover { color: var(--text); background: var(--elevated); }
.nav__cta {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #0A0B0F;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 164, 93, 0.35);
}

/* -----------------------------------------------------------
   Hero
----------------------------------------------------------- */
.hero {
  padding: 120px 0 100px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero__copy {
  min-width: 0;
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 96px 0 80px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  margin-bottom: 24px;
}
.eyebrow__pulse {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(245, 164, 93, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 164, 93, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245, 164, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 164, 93, 0); }
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 18ch;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero__title-accent { color: var(--accent); }
.hero__lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 40px;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}
.btn--primary {
  background: var(--accent);
  color: #0A0B0F;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 164, 93, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--elevated);
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.15s;
}
.btn:hover .btn__arrow { transform: translateX(2px); }

/* -----------------------------------------------------------
   Marquee: slim sticky live-offers strip above the nav
----------------------------------------------------------- */
.marquee {
  display: flex;
  align-items: stretch;
  height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
}
.marquee__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
  z-index: 2;
}
.marquee__pulse {
  width: 6px; height: 6px; border-radius: 100px;
  background: var(--positive);
  box-shadow: 0 0 10px var(--positive);
  animation: pulse-green 1.6s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.marquee__viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
/* soft fade at the right edge so items don't hard-clip at the viewport boundary */
.marquee__viewport::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(10, 11, 15, 0.9));
  pointer-events: none;
  z-index: 1;
}
.marquee__track {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: scroll-left 90s linear infinite;
  white-space: nowrap;
  padding: 0 24px;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pill items inside the marquee — slim, monospace, colored data */
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1;
}
.ticker__amount {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ticker__brand   { color: var(--text); font-weight: 600; }
.ticker__arrow   { color: var(--text-dim); }
.ticker__dealer  { color: var(--text); }
.ticker__discount {
  color: var(--positive);
  font-weight: 600;
}
.ticker__time { color: var(--text-dim); font-size: 10.5px; }

@media (max-width: 640px) {
  .marquee { height: 34px; }
  .marquee__label { padding: 0 12px; font-size: 9px; letter-spacing: 0.2em; }
  .ticker__item { font-size: 10.5px; gap: 8px; }
}

/* -----------------------------------------------------------
   Sections shared
----------------------------------------------------------- */
.section {
  padding: 100px 0;
  position: relative;
}
.section__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 22ch;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 48px;
}
/* -----------------------------------------------------------
   Dealer network widget (ticker-style strip, mid-page)
----------------------------------------------------------- */
.netbar {
  display: flex;
  align-items: stretch;
  height: 44px;
  margin: 56px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
}
.netbar__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
  z-index: 2;
}
.netbar__viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.netbar__viewport::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(10, 11, 15, 0.9));
  pointer-events: none;
  z-index: 1;
}
.netbar__track {
  display: flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
  padding: 0 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.netbar__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.netbar__item--total {
  color: var(--text);
  font-weight: 600;
  padding-right: 8px;
  border-right: 1px solid var(--border-soft);
  margin-right: 4px;
}
.netbar__n {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.netbar__item--total .netbar__n {
  font-size: 22px;
  text-shadow: 0 0 20px rgba(245, 164, 93, 0.4);
}

@media (max-width: 640px) {
  .netbar { height: auto; flex-direction: column; align-items: stretch; margin: 40px 0; }
  .netbar__label { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 10px 16px; }
  .netbar__viewport { padding: 8px 0; }
  .netbar__track { font-size: 11px; gap: 20px; padding: 0 16px; }
  .netbar__n { font-size: 15px; }
  .netbar__item--total .netbar__n { font-size: 19px; }
}

/* -----------------------------------------------------------
   Brand grid
----------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-card {
  padding: 22px 20px 18px;
  background: var(--elevated);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 118px;
}
.brand-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  background: #17191F;
}
.brand-card__logo-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
}
.brand-card__logo {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s;
  filter: none;
}
.brand-card:hover .brand-card__logo {
  opacity: 1;
}
.brand-card__type {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* -----------------------------------------------------------
   How-it-works diagram
----------------------------------------------------------- */
.how {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--elevated);
}
.how__step {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.how__step:last-child { border-right: none; }
.how__step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}
.how__step-title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.25;
}
.how__step-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.how__step-arrow {
  position: absolute;
  top: 32px;
  right: -8px;
  color: var(--accent);
  background: var(--elevated);
  padding: 4px;
  font-family: var(--f-mono);
  font-size: 14px;
  z-index: 2;
}

/* -----------------------------------------------------------
   Two-audience split
----------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split__card {
  padding: 40px 36px 36px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--elevated);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.split__card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
}
.split__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.split__title {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.split__body {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 8px;
}
.split__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.split__bullets li {
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  position: relative;
}
.split__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 1.5px;
  background: var(--accent);
}
.split__ctas {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: wrap;
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 60px;
  color: var(--text-dim);
  font-size: 13px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer__mark {
  width: 52px;
  height: 52px;
  display: block;
}
.footer__wordmark {
  font-family: var(--f-display);
  font-size: 30px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text);
  display: inline-flex;
}
.footer__wordmark--bold { font-weight: 800; }
.footer__wordmark--thin { font-weight: 200; letter-spacing: 0.08em; }
.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--accent); }
.footer__copy {
  color: var(--text-dim);
  font-size: 12px;
}
@media (max-width: 640px) {
  .footer__meta { align-items: flex-start; }
  .footer__wordmark { font-size: 24px; }
  .footer__mark { width: 42px; height: 42px; }
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 960px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .how { grid-template-columns: 1fr 1fr; }
  .how__step:nth-child(2) { border-right: none; }
  .how__step { border-bottom: 1px solid var(--border); }
  .how__step:nth-last-child(-n+2) { border-bottom: none; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter-x: var(--gutter-x-mobile); }
  .hero { padding: 60px 0 50px; }
  .section { padding: 60px 0; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .how__step { border-right: none; border-bottom: 1px solid var(--border); }
  .how__step:last-child { border-bottom: none; }
  .nav__links .nav__link:not(.nav__cta) { display: none; }
}

/* -----------------------------------------------------------
   The platform: agent + human two-lane + MCP tools
----------------------------------------------------------- */
.stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.stack__lane {
  padding: 32px 28px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  transition: border-color 0.2s;
}
.stack__lane:hover { border-color: var(--accent-line); }
.stack__lane-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
}
.stack__lane--ai .stack__lane-label { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.stack__lane--human .stack__lane-label { color: var(--positive); border-color: rgba(110, 231, 183, 0.28); background: rgba(110, 231, 183, 0.08); }
.stack__lane-dot {
  width: 6px; height: 6px; border-radius: 100px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.stack__lane-dot--human {
  background: var(--positive);
  box-shadow: 0 0 8px var(--positive);
}
.stack__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stack__list li {
  padding: 14px 16px 14px 22px;
  background: var(--canvas);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
}
.stack__list li:hover {
  border-color: var(--border);
  transform: translateX(2px);
}
.stack__list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 22px;
  width: 4px;
  height: 4px;
  border-radius: 100px;
  background: var(--text-dim);
}
.stack__lane--ai .stack__list li::before { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.stack__lane--human .stack__list li::before { background: var(--positive); box-shadow: 0 0 6px var(--positive); }
.stack__list li strong {
  color: var(--text);
  font-weight: 600;
  font-family: var(--f-display);
  letter-spacing: -0.005em;
}

/* MCP tool surface */
.stack__mcp {
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--elevated), var(--canvas));
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.stack__mcp::before {
  content: "";
  position: absolute;
  top: -1px; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.stack__mcp-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.stack__mcp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.stack__mcp-pill {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--canvas);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  transition: border-color 0.15s, background 0.15s;
}
.stack__mcp-pill:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
.stack__mcp-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 72ch;
  margin: 0;
}

@media (max-width: 960px) {
  .stack { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   The operation: 6-step pipeline (upload → close)
----------------------------------------------------------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pipeline__step {
  padding: 24px 22px 26px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.pipeline__step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-line), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.pipeline__step:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.pipeline__step:hover::before { opacity: 1; }

.pipeline__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.pipeline__tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 100px;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.pipeline__tag--brand {
  color: var(--text-muted);
  background: rgba(155, 156, 161, 0.08);
  border-color: rgba(155, 156, 161, 0.20);
}
.pipeline__tag--brand::before { box-shadow: none; }
.pipeline__tag--platform {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.pipeline__tag--human {
  color: var(--positive);
  background: rgba(110, 231, 183, 0.08);
  border-color: rgba(110, 231, 183, 0.28);
}

.pipeline__num {
  font-family: var(--f-mono);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.pipeline__step:hover .pipeline__num { color: var(--accent); transition: color 0.2s; }

.pipeline__title {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 10px;
  text-wrap: balance;
}

.pipeline__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 960px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline__num { font-size: 28px; }
}


/* -----------------------------------------------------------
   Hero agent moments — floating scattered elements (Sierra pattern)
   Sparse, ambient, no chat window. Elements positioned by JS.
----------------------------------------------------------- */
.agent-scene {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 520px;
  max-width: 560px;
  margin-left: auto;
  overflow: visible;
}

/* Each floating moment */
.moment {
  position: absolute;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  max-width: 300px;
}
.moment--in {
  opacity: 1;
  transform: translateY(0);
}
.moment--out {
  opacity: 0;
  transform: translateY(-8px);
  transition-duration: 0.6s;
}

/* Small shared labels */
.moment__label {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

/* AE prompt — quiet, neutral */
.moment--prompt .moment__text {
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

/* Tool call — copper accent, mono, feels like the platform working */
.moment--toolcall {
  padding: 10px 14px;
  border: 1px solid rgba(245, 164, 93, 0.22);
  background: rgba(245, 164, 93, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.moment__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.moment__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(245, 164, 93, 0.7);
  animation: pulse-copper 1.4s infinite;
}
@keyframes pulse-copper {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.moment__tool {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.005em;
}
.moment__args {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Dealer card — the person */
.moment--dealer {
  padding: 12px 14px 14px;
  background: rgba(20, 22, 28, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.moment__name {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
}
.moment__meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Match — quiet green tint */
.moment--match {
  padding: 8px 12px;
  border: 1px solid rgba(110, 231, 183, 0.22);
  background: rgba(110, 231, 183, 0.05);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--positive);
  letter-spacing: -0.005em;
}
.moment--match .moment__label { display: none; }

/* Offer card — the meaningful summary */
.moment--offer {
  padding: 14px 16px;
  background: rgba(20, 22, 28, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow:
    0 12px 40px -8px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(245, 164, 93, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 240px;
}
.moment__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 4px 0;
}
.moment__row + .moment__row {
  border-top: 1px dashed rgba(255,255,255,0.06);
}
.moment__k {
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
}
.moment__v {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.moment__v--accent { color: var(--accent); }

/* -----------------------------------------------------------
   Base pill — shared shape/spacing for every kind of pill moment
   (supplier-req, supplier-ok, delivered, confirm).
   Variants below only re-color; layout stays identical.
----------------------------------------------------------- */
.moment__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
  /* default (green / "confirm" & "supplier-ok") */
  background: rgba(110, 231, 183, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: var(--positive);
}

/* Shared icon "bullet" — 18px round, consistent across variants */
.moment__check,
.moment__arrow,
.moment__truck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  color: #0a0b0f;
}
.moment__check  { background: var(--positive); }
.moment__arrow  { background: rgba(255, 255, 255, 0.85); }
.moment__truck  { background: var(--accent); }

/* Compact positioning on smaller viewports */
@media (max-width: 1080px) {
  .agent-scene {
    max-width: 640px;
    margin: 0 auto;
    height: 460px;
    min-height: 460px;
  }
}
@media (max-width: 640px) {
  .agent-scene { height: 420px; min-height: 420px; }
  .moment { max-width: 260px; }
  .moment--prompt .moment__text { font-size: 13px; }
}

/* AE handoff — human-in-the-loop card with an AE badge */
.moment--handoff {
  position: relative;
  padding: 12px 14px 14px;
  background: rgba(20, 22, 28, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.moment__badge {
  position: absolute;
  top: -8px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  background: var(--accent);
  color: #0a0b0f;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(245, 164, 93, 0.35);
}

/* Pill color variants — layout comes from .moment__pill above */
.moment__pill--copper {
  background: rgba(245, 164, 93, 0.10);
  border-color: rgba(245, 164, 93, 0.35);
  color: var(--accent);
}
.moment__pill--neutral {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

/* Give the scene extra height so the last (delivered) pill has breathing room */
.agent-scene { height: 620px; min-height: 620px; }
@media (max-width: 1080px) {
  .agent-scene { height: 560px; min-height: 560px; }
}
@media (max-width: 640px) {
  .agent-scene { height: 500px; min-height: 500px; }
}

