
@font-face { font-family: 'Usual'; src: url('/fonts/Usual-300.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Usual'; src: url('/fonts/Usual-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Usual'; src: url('/fonts/Usual-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Usual'; src: url('/fonts/Usual-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('/fonts/Space-Mono-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('/fonts/Space-Mono-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --dark: #14151B;
  --dark-2: #14151B;
  --dark-card: #14151B;
  --border-dark: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);
  --light-bg: #F7F7F5;
  --light-card: #FFFFFF;
  --light-card-2: #F0EFF9;
  --text-white: #FAFAFA;
  --text-off-white: rgba(255,255,255,0.65);
  --text-dark: #14151B;
  --text-muted: #7A7A8A;
  --accent: #0CFFD4;
  --accent-2: #A8E6E4;
  --accent-glow: rgba(108, 203, 200, 0.15);
  --green: #0CFFD4;
  --amber: #FFB830;
  --font: 'Usual', Georgia, serif;
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12, 12, 14, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
  max-width: 100%; margin: 0 auto;
  padding: 14px 100px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo svg {
  height: 32px;
  width: auto;
}

.nav-logo-mark {
  width: 30px; height: 30px; background: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}

.nav-logo-mark svg { width: 16px; height: 16px; fill: white; }

.nav-design-partner {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
  background: none;
  border: none;
  padding: 0;
}
.nav-design-partner:hover { color: #A8E6E4; }

/* ─── DESIGN PARTNER MODAL ─── */
.dp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.dp-modal-overlay.open { display: flex; }
.dp-modal {
  background: #14151B;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 520px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.dp-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.dp-modal-close:hover { color: rgba(255,255,255,0.8); }
.dp-modal h2 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 500;
  color: #FAFAFA;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.dp-modal p {
  font-family: var(--font);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 28px;
  line-height: 1.6;
}
/* HubSpot form overrides for Design Partner modal */
#dp-hs-form .hs-form-private {
  font-family: var(--font);
  display: flex;
  flex-direction: column;
}
#dp-hs-form .legal-consent-container {
  order: 1;
  margin-top: 12px;
}
#dp-hs-form .legal-consent-container p {
  font-family: var(--font);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
#dp-hs-form label {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
#dp-hs-form .hs-input {
  width: 100% !important;
  box-sizing: border-box;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: #FAFAFA;
  outline: none;
  transition: border-color 0.15s;
}
#dp-hs-form .hs-input::placeholder {
  color: rgba(255,255,255,0.3);
}
#dp-hs-form .hs-input:focus {
  border-color: rgba(12,255,212,0.4);
}
#dp-hs-form .hs-form-field {
  margin-bottom: 20px;
}
#dp-hs-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
#dp-hs-form .hs-error-msgs li label {
  color: #f87171;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}
#dp-hs-form .hs-submit {
  margin-top: 4px;
}
#dp-hs-form .hs-button {
  width: 100%;
  background: linear-gradient(135deg, rgba(12,255,212,0.25), rgba(12,255,212,0.15));
  border: 1px solid rgba(12,255,212,0.3);
  border-radius: 8px;
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: #FAFAFA;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
#dp-hs-form .hs-button:hover {
  background: linear-gradient(135deg, rgba(12,255,212,0.35), rgba(12,255,212,0.22));
  border-color: rgba(12,255,212,0.5);
}
#dp-hs-form .submitted-message {
  font-family: var(--font);
  font-size: 14px;
  color: #A8E6E4;
  text-align: center;
  padding: 10px 0;
}
/* Hide HubSpot branding and extra chrome */
#dp-hs-form .hs_recaptcha {
  display: none !important;
}
#dp-hs-form a {
  color: #A8E6E4;
}

.btn-cta {
  background: rgba(12,255,212,0.12);
  color: #A8E6E4; font-family: var(--font);
  font-size: 14px; font-weight: 500;
  padding: 10px 22px; border-radius: 6px;
  text-decoration: none; border: 1px solid rgba(12,255,212,0.3); cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.01em;
  box-shadow: none;
}

.btn-cta:hover { background: transparent; border: 1px solid rgba(12,255,212,0.3); color: #A8E6E4; transform: none; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 160px 0 100px;
  background: var(--dark);
  position: relative; overflow: hidden;
}

.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(12,255,212,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(12,255,212,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(12,255,212,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(12,255,212,0.07); border: 1px solid rgba(12,255,212,0.2);
  color: var(--accent-2); padding: 6px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.065em; text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-label-dot {
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500; line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin-bottom: 20px;
}

.hero-h1 em { font-style: normal; color: var(--accent-2); }

.hero-sub {
  font-size: 18px; font-weight: 300; line-height: 1.65;
  color: var(--text-off-white); max-width: 460px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}

.btn-secondary {
  color: rgba(250,250,250,0.65); font-family: var(--font);
  font-size: 14px; font-weight: 400;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
  padding: 10px 22px;
  transition: var(--transition);
}

.btn-secondary:hover { color: #FAFAFA; background: transparent; border-color: rgba(255,255,255,0.2); }
.btn-secondary span { font-size: 16px; }

/* Hero product mockup */
.hero-visual {
  position: relative; display: flex; justify-content: flex-end;
}

.hero-mockup {
  width: 100%; max-width: 520px;
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: var(--transition);
}

.hero-mockup:hover { transform: perspective(1000px) rotateY(-1deg) rotateX(0deg); }

.mockup-bar {
  background: #1C1C24; border-bottom: 1px solid var(--border-dark);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }

.mockup-title {
  font-size: 12px; color: var(--text-muted);
  margin-left: 8px; font-weight: 400;
}

.mockup-body { padding: 24px; }

.mockup-metric-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 24px;
}

.mockup-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 10px; padding: 14px;
}

.mockup-metric-label {
  font-size: 10px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.045em; margin-bottom: 6px;
}

.mockup-metric-val {
  font-size: 22px; font-weight: 700; color: var(--text-white);
  letter-spacing: -0.01em;
}

.mockup-metric-delta {
  font-size: 11px; color: var(--green); margin-top: 2px;
}

.mockup-deal-list { display: flex; flex-direction: column; gap: 8px; }

.mockup-deal {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark); border-radius: 8px;
}

.deal-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

.deal-dot.green { background: var(--green); }
.deal-dot.amber { background: var(--amber); }
.deal-dot.red { background: #FF6B6B; }

.deal-name { font-size: 13px; font-weight: 500; flex: 1; color: var(--text-white); }
.deal-score { font-size: 12px; color: var(--text-muted); }
.deal-badge {
  font-size: 10px; padding: 3px 8px; border-radius: 100px; font-weight: 500;
}

.deal-badge.risk { background: rgba(255,107,107,0.15); color: #FF6B6B; }
.deal-badge.watch { background: rgba(255,184,48,0.15); color: var(--amber); }
.deal-badge.good { background: rgba(0,214,143,0.15); color: var(--green); }

.mockup-chat {
  margin-top: 16px; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(12,255,212,0.18);
  border-radius: 10px; display: flex; align-items: center; gap: 10px;
}

.chat-icon {
  width: 24px; height: 24px; background: var(--accent);
  border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.chat-input-fake { font-size: 13px; color: var(--text-muted); flex: 1; }

/* ─── SECTION SCAFFOLDING ─── */
section { width: 100%; }

.container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
}
#problem .container { text-align: left; }

.section-label {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.065em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(12,255,212,0.07);
  border: 1px solid rgba(12,255,212,0.2);
  padding: 5px 12px; border-radius: 6px;
  margin-bottom: 20px;
}

/* ─── SECTION 2 — PROBLEM ─── */
/* ─── SECTION 2 — PROBLEM ─── */
#problem {
  background: var(--dark);
  padding: 120px 0 120px;
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

#problem .section-label { color: #A8E6E4; }

.problem-h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.1; color: var(--text-white);
  max-width: 640px; margin-bottom: 12px; text-align: left;
}

.problem-sub {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300; letter-spacing: -0.01em;
  line-height: 1.3; color: var(--text-off-white);
  max-width: 640px; margin-bottom: 64px; text-align: left;
}

.problem-glow {
  position: absolute; top: 50%; right: -200px; transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(12,255,212,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.problem-glow-left {
  position: absolute; top: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(12,255,212,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* 3-col panel */
.problem-panel {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.problem-col {
  padding: 32px 40px 32px;
  border-right: 1px solid var(--border-dark);
  display: flex; flex-direction: column; justify-content: flex-start;
}

.problem-col:last-child { border-right: none; }

/* Mini UI mockups */
.prob-ui {
  height: 280px;
  margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}

/* Card 1 — stale CRM rows */
.prob-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  min-height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
}

.prob-row.stale { opacity: 0.35; }
.prob-row.fading { opacity: 0.15; }

.prob-row-num { font-size: 11px; color: var(--text-muted); width: 14px; flex-shrink: 0; }
.prob-row-label { font-size: 12px; color: rgba(255,255,255,0.75); flex: 1; }
.prob-row-date { font-size: 10px; color: var(--text-muted); }

.prob-row-tag {
  font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 100px;
}

.prob-row-tag.stale-tag {
  background: rgba(255,107,107,0.12); color: #FF6B6B;
  border: 1px solid rgba(255,107,107,0.2);
}

/* Card 2 — trapped in mailboxes */
.prob-inbox {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}

.prob-inbox-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(12,255,212,0.1);
  border: 1px solid rgba(12,255,212,0.2);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #A8E6E4; font-weight: 600;
}

.prob-inbox-body { flex: 1; }
.prob-inbox-from { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 3px; }
.prob-inbox-subject { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 500; margin-bottom: 2px; }
.prob-inbox-preview { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

.prob-lock {
  margin-top: 8px; padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
}

.prob-lock-icon { font-size: 16px; }
.prob-lock-text { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* Card 3 — forecast guesswork */
.prob-forecast-head {
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px 8px;
}

.prob-fh { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.055em; }

.prob-forecast-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  min-height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
}

.prob-forecast-name { font-size: 12px; color: rgba(255,255,255,0.75); flex: 1; }
.prob-forecast-rep  { font-size: 11px; color: var(--text-muted); width: 50px; text-align: center; }

.prob-forecast-gut {
  font-size: 10px; font-weight: 500; padding: 2px 8px;
  border-radius: 100px; width: 60px; text-align: center;
}

.prob-forecast-gut.commit { background: rgba(0,214,143,0.12); color: var(--green); border: 1px solid rgba(0,214,143,0.2); }
.prob-forecast-gut.upside { background: rgba(255,184,48,0.12); color: var(--amber); border: 1px solid rgba(255,184,48,0.2); }
.prob-forecast-gut.omit   { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border-dark); }

/* Column footer labels */
.prob-col-label {
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-white); margin-bottom: 8px;
}

.prob-col-desc {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--text-off-white);
}

/* ─── SECTION 3 — AGENTS ─── */
#agents {
  background: var(--light-bg);
  color: var(--text-dark);
  padding: 120px 0 0;
}

.agents-heading {
  max-width: 1100px; margin: 0 auto;
  padding: 0 60px 300px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.agents-h2 {
  font-size: clamp(56px, 7.5vw, 96px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--text-dark); margin-bottom: 16px; margin-top: 20px;
}

.agents-sub {
  font-size: 21px; font-weight: 300; line-height: 1.6;
  color: #5A5A6A; max-width: 580px; text-align: center; margin-top: 8px;
}

/* Full-viewport split block */
/* Outer wrapper: two columns, left scrolls, right sticky */
.agents-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left: all text blocks stacked */
.agents-left {
  background: var(--light-bg);
}

/* Right: sticky dark panel */
.agents-right {
  background: var(--dark-2);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
  overflow: hidden;
}

/* Each text block fills 100vh */
.agent-block {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 120px 60px 100px;
  transition: opacity 0.15s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-48px) translateY(28px);
}

.agent-block.visible {
  transform: translateX(0) translateY(0);
}

/* Screen panels inside sticky right — only active one visible */
.agent-panel {
  position: absolute; inset: 60px;
  display: flex; align-items: center; justify-content: center; margin-top: -60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.agent-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.agent-num-tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A7E7A;
  background: rgba(10,126,122,0.08);
  border: 1px solid rgba(10,126,122,0.25);
  padding: 5px 12px; border-radius: 6px;
  margin-bottom: 24px;
  width: fit-content;
}

.agent-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500; letter-spacing: -0.03em;
  color: var(--text-dark); margin-bottom: 20px; line-height: 1.1;
}


.agent-cta {
  display: inline-block; margin-top: 28px;
  background: var(--text-dark); color: #fff;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  padding: 11px 24px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; letter-spacing: -0.01em;
  width: fit-content;
}
.agent-cta:hover { background: #2e2e3a; transform: translateY(-1px); }

.agent-desc {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: #5A5A6A; max-width: 400px;
}

/* Responsive */
@media (max-width: 900px) {
  #agents { padding: 80px 0 0; }
  .agents-heading { padding: 0 24px 60px; }
  .agent-block { grid-template-columns: 1fr; min-height: unset; }
  .agent-copy { padding: 60px 24px 40px; }
  .agent-visual { padding: 40px 24px 60px; min-height: 50vh; }
}

/* Responsive */
@media (max-width: 900px) {
  #agents { padding: 80px 0 0; }
  .agents-heading { padding: 0 24px 60px; }
  .agent-block { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; min-height: unset; }
}

/* Scrolling panels */
.agents-panels {
  display: flex; flex-direction: column;
  padding-bottom: 120px;
}

.agent-panel {
  height: 100vh;
  display: flex; align-items: center;
}

/* Responsive */
@media (max-width: 900px) {
  #agents { padding: 80px 0 0; }
  .agents-heading { padding: 0 24px 60px; }
  .agents-parallax { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
  .agents-steps { position: static; padding-bottom: 0; }
  .agents-panels { padding-bottom: 60px; }
  .agent-panel { height: auto; padding: 20px 0; }
}

/* Agent mockups */
.agent-visual { position: relative; }

.agent-screen {
  background: var(--dark); border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.15);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}

.screen-header {
  background: #14151B; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border-dark);
}

.screen-dots { display: flex; gap: 5px; }
.screen-dot { width: 8px; height: 8px; border-radius: 50%; }
.screen-dot:nth-child(1) { background: #FF5F57; }
.screen-dot:nth-child(2) { background: #FEBC2E; }
.screen-dot:nth-child(3) { background: #28C840; }

.screen-tab {
  font-size: 11px; color: var(--text-muted); font-weight: 400; margin-left: 4px;
}

.screen-body { padding: 20px; }

/* Deal analysis screen */
.deal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
}

.deal-co { font-size: 16px; font-weight: 600; color: white; }
.deal-amt { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.health-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,214,143,0.12); border: 1px solid rgba(0,214,143,0.25);
  padding: 5px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 500; color: var(--green);
}

.health-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

.signal-list { display: flex; flex-direction: column; gap: 8px; }

.signal-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark); border-radius: 8px;
}

.signal-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.signal-text { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.signal-label {
  display: inline-block; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.045em;
  color: var(--text-muted); margin-bottom: 2px;
}

/* Forecast screen */
.forecast-row-head {
  display: grid; grid-template-columns: 1fr 80px 80px 70px;
  gap: 8px; padding: 0 8px 8px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 8px;
}

.fh { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.045em; }

.forecast-row {
  display: grid; grid-template-columns: 1fr 80px 80px 70px;
  gap: 8px; padding: 8px;
  border-radius: 6px;
}

.forecast-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.fr-name { font-size: 12px; color: white; font-weight: 500; }
.fr-val { font-size: 12px; color: var(--text-muted); text-align: center; }
.fr-ai { font-size: 12px; font-weight: 600; text-align: center; }
.fr-ai.up { color: var(--green); }
.fr-ai.down { color: #FF6B6B; }
.fr-ai.neutral { color: var(--amber); }

.slack-inset {
  position: absolute; bottom: -20px; right: -24px;
  width: 200px;
  background: white; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.1);
  overflow: hidden;
}

.slack-header {
  background: #4A154B; padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
}

.slack-app-icon {
  width: 20px; height: 20px; background: white;
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

.slack-app-name { font-size: 11px; color: rgba(255,255,255,0.85); font-weight: 500; }

.slack-body { padding: 12px; }

.slack-msg {
  font-size: 11px; line-height: 1.5; color: #1D1C1D;
  font-family: var(--font);
}

.slack-msg strong { color: #1D1C1D; font-weight: 600; }
.slack-msg .at { color: #1264A3; }

/* Tasks screen */
.task-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark); border-radius: 8px;
  margin-bottom: 8px;
}

.task-check {
  width: 16px; height: 16px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0; margin-top: 1px;
}

.task-body { flex: 1; }
.task-name { font-size: 12px; color: white; font-weight: 500; margin-bottom: 3px; }
.task-meta { font-size: 11px; color: var(--text-muted); }

.task-priority {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.045em; padding: 2px 7px; border-radius: 100px;
}

.task-priority.high { background: rgba(255,107,107,0.15); color: #FF6B6B; }
.task-priority.med { background: rgba(255,184,48,0.15); color: var(--amber); }

/* ─── SECTION 4 — HOW IT WORKS ─── */
/* ─── SECTION 4 — HOW IT WORKS (parallax) ─── */
#how {
  background: var(--dark-2);
  padding: 120px 0 120px;
  border-top: 1px solid var(--border-dark);
}

.how-heading {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px 60px;
}

.how-h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.1;
  color: var(--text-white); max-width: 580px;
  margin-top: 20px;
}

/* Parallax scroll layout */
.how-parallax {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left: sticky text column */
.how-steps {
  position: sticky; top: 120px;
  padding-bottom: 120px;
}

.how-step {
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
  cursor: default;
  transition: var(--transition);
  opacity: 0.35;
}

.how-step.active { opacity: 1; }
.how-step:first-child { border-top: none; }

.how-step-num {
  font-size: 11px; font-weight: 600; letter-spacing: 0.085em;
  text-transform: uppercase; color: #A8E6E4;
  margin-bottom: 14px;
}

.how-step h3 {
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-white); margin-bottom: 14px; line-height: 1.3;
}

.how-step p {
  font-size: 15px; font-weight: 300; line-height: 1.75;
  color: var(--text-off-white); max-width: 400px;
}

.how-step-extras {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}

.logo-chip {
  padding: 5px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  font-size: 11px; color: var(--text-off-white); font-weight: 400;
}

.mcp-chip {
  padding: 5px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 500;
}

.mcp-chip.claude  { background: rgba(229,149,60,0.15); color: #E5953C; border: 1px solid rgba(229,149,60,0.25); }
.mcp-chip.gpt     { background: rgba(16,163,127,0.15); color: #10A37F; border: 1px solid rgba(16,163,127,0.25); }
.mcp-chip.copilot { background: rgba(0,120,212,0.15);  color: #0078D4; border: 1px solid rgba(0,120,212,0.25); }
.mcp-chip.slack   { background: rgba(224,30,90,0.12);  color: #E01E5A; border: 1px solid rgba(224,30,90,0.2); }

/* Right: scrolling image panels */
.how-panels {
  display: flex; flex-direction: column; gap: 0;
  padding-bottom: 120px;
}

.how-panel {
  height: 100vh;
  display: flex; align-items: center;
}

.how-panel-card {
  width: 100%;
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.how-panel-bar {
  background: #1C1C24; border-bottom: 1px solid var(--border-dark);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}

.how-panel-dots { display: flex; gap: 5px; }
.how-panel-dot  { width: 8px; height: 8px; border-radius: 50%; }
.how-panel-dot:nth-child(1) { background: #FF5F57; }
.how-panel-dot:nth-child(2) { background: #FEBC2E; }
.how-panel-dot:nth-child(3) { background: #28C840; }
.how-panel-tab { font-size: 11px; color: var(--text-muted); margin-left: 4px; }

.how-panel-body { padding: 28px; }

/* Panel 1 — integrations */
.int-section-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted);
  margin: 10px 0 8px;
}
.int-section-label:first-child { margin-top: 0; }

.integration-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px;
  margin-bottom: 2px;
}

.int-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 8px; padding: 10px 12px 10px;
  display: flex; flex-direction: column; gap: 8px;
}

.int-item-top {
  display: flex; align-items: flex-start; justify-content: space-between;
}

.int-logo {
  width: 32px; height: 32px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}

.int-actions { display: flex; align-items: center; gap: 5px; }

.int-btn-connect {
  font-size: 9px; font-weight: 600; padding: 3px 8px;
  border-radius: 4px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.int-icon-action {
  width: 18px; height: 18px; border-radius: 4px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 9px;
}

.int-name { font-size: 12px; font-weight: 600; color: var(--text-white); }

.int-bottom { display: flex; align-items: center; justify-content: space-between; }

.int-meta { font-size: 9.5px; color: var(--text-muted); line-height: 1.5; }

.int-badge-connected {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 4px;
  background: rgba(0,194,113,0.12); color: #00C271;
  border: 1px solid rgba(0,194,113,0.2);
}
.int-badge-connected::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #00C271; flex-shrink: 0;
}

.int-badge-notconnected {
  font-size: 9px; color: var(--text-muted);
}

#hs-card, #fathom-card, #slack-card {
  transition: transform 0.2s ease, border-color 0.3s, background 0.3s;
}
#hs-card:hover, #fathom-card:hover, #slack-card:hover { transform: scale(1.03); }
#hs-card.connected, #fathom-card.connected, #slack-card.connected { border-color: rgba(0,194,113,0.3); background: rgba(0,194,113,0.04); }
#hs-connect-btn { cursor: pointer; transition: background 0.2s, color 0.2s; }
#hs-connect-btn:hover { background: rgba(12,255,212,0.15); border-color: rgba(12,255,212,0.4); color: #0CFFD4; }

/* Panel 2 — activation hub */
.hub-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
}

.hub-row:last-child { border-bottom: none; }

.hub-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(12,255,212,0.08); border: 1px solid rgba(12,255,212,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

.hub-label  { font-size: 13px; font-weight: 500; color: var(--text-white); flex: 1; }
.hub-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.hub-progress { width: 120px; }

.hub-bar-track {
  height: 5px; background: rgba(255,255,255,0.07);
  border-radius: 3px; overflow: hidden;
}

.hub-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, rgba(12,255,212,0.6), rgba(12,255,212,0.9));
}

.hub-count { font-size: 11px; color: var(--text-muted); text-align: right; margin-top: 4px; }

/* Panel 3 — MCP / ask Pace */
.mcp-panel-row {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px;
}

.mcp-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 10px; padding: 12px 14px;
  flex: 1;
}

.mcp-bubble.user {
  background: rgba(12,255,212,0.07);
  border-color: rgba(12,255,212,0.15);
  margin-left: 40px;
}

.mcp-bubble-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.055em; margin-bottom: 5px; }
.mcp-bubble-text  { font-size: 13px; color: var(--text-white); line-height: 1.55; }

.mcp-app-row {
  display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap;
}

.mcp-app-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.04);
  color: var(--text-off-white);
}

.mcp-app-dot { width: 7px; height: 7px; border-radius: 50%; }

/* Responsive */
@media (max-width: 900px) {
  #how { padding: 80px 0 0; }
  .how-heading { padding: 0 24px 60px; }
  .how-parallax { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
  .how-steps { position: static; padding-bottom: 0; }
  .how-panels { padding-bottom: 60px; }
  .how-panel { height: auto; padding: 20px 0; }
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 48px 0 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.footer-logo-wrap { display: flex; }
.footer-ca a,
.footer-links a {
  font-size: 12px; color: var(--text-muted);
  text-decoration: none; font-weight: 400;
  transition: var(--transition);
}
.footer-ca a:hover,
.footer-links a:hover { color: #A8E6E4; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-cb-row {
  display: flex; align-items: center; gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-cb-logo {
  display: flex; align-items: center;
  opacity: 0.7; text-decoration: none;
  transition: opacity 0.2s;
}
.footer-cb-logo:hover { opacity: 1; }
.footer-cb-text { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 400; }
.footer-cb-sep  { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-cb-link { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-cb-link:hover { color: #A8E6E4; }

/* ─── ANIMATIONS ─── */


/* ─── RESPONSIVE ─── */

/* ── Nav right ── */
.nav-right { display: flex; align-items: center; gap: 24px; }

/* ── Burger menu ── */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0;
  background: #0D0E12;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 20px 24px;
  flex-direction: column; gap: 12px;
  z-index: 999;
  transform: translateY(-8px); opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-drawer.open {
  opacity: 1; transform: translateY(0);
}
.nav-drawer-btn {
  display: block; text-align: center;
  padding: 12px 20px; border-radius: 6px;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: var(--transition);
}
.nav-drawer-btn.primary {
  background: rgba(12,255,212,0.12); color: #A8E6E4;
  border: 1px solid rgba(12,255,212,0.3);
}
.nav-drawer-btn.secondary {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Tablet 768–1024px ── */
@media (max-width: 1024px) {
  /* Burger */
  .nav-links { display: none; }
  .nav-design-partner { display: none; }
  .nav-right { display: none; }
  .nav-burger { display: flex; }
  .nav-drawer { display: flex; }

  /* Setup: show mobile version */
  .how-desktop { display: none !important; }
  .how-mobile  { display: block !important; }
  #how-mobile  { padding: 80px 0; background: var(--dark-2); border-top: 1px solid var(--border-dark); }
  #how-mobile .how-heading { padding: 0 32px 48px; }
  .how-mobile-stack { padding: 0 32px; }

  /* In-action: show mobile version */
  .in-action-desktop { display: none !important; }
  .in-action-mobile  { display: block !important; }
  #in-action-mobile  { padding: 80px 0; background: var(--light-bg); color: var(--text-dark); overflow-x: hidden; }
  #in-action-mobile .action-heading {
  text-align: center;
  margin-bottom: 28px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}
#in-action .action-heading {
  text-align: center !important;
}
  .in-action-mobile-stack { padding: 0 32px; }
  .in-action-mobile-screen .action-screen { position: static !important; opacity: 1 !important; pointer-events: auto !important; }
  .in-action-mobile-screen .action-window-body { padding: 10px 14px 20px; }


  /* Agents: show mobile version, hide desktop */
  #agents.agents-desktop { display: none !important; }
  #agents-mobile { display: block !important; padding: 80px 0 60px; }

  .nav-inner { padding: 14px 32px; }

  #hero { padding: 120px 0 80px; }
  .hero-inner { padding: 0 32px; gap: 48px; }
  .hero-visual { max-width: 460px; }

  #problem { padding: 80px 0; }
  #problem .container { padding: 0 32px; }
  .problem-col { padding: 28px 28px; }

  /* Agents: collapse sticky layout below 1024px */
  .agents-heading { padding: 0 32px 60px !important; text-align: left; align-items: flex-start; }
  .agents-split { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column; }
  .agents-right {
    order: -1;
    position: static !important;
    height: 360px !important;
    padding: 32px !important;
    overflow: hidden;
  }
  .agent-cta { display: none; }

  #how { padding: 80px 0; }
  .how-heading { padding: 0 32px 48px; }
  .how-cols { padding: 0 32px; }
  .how-col { flex: 0 0 calc(78% - 16px); padding: 24px 22px 22px; }

  #in-action { padding: 80px 0; }
  .action-window-wrap { padding: 0 32px; }
  .action-tabs-secondary { padding: 0 32px; flex-wrap: wrap; gap: 8px; }
  .action-subtabs.active { flex-wrap: wrap; gap: 8px; }

  #cta { padding: 100px 0; }
  .cta-inner { padding: 0 32px; }

  footer { padding: 48px 0; }
  .footer-inner { padding: 0 32px; }
}

/* ── Mobile ≤767px ── */
@media (max-width: 767px) {
  /* Agents mobile */
  #agents-mobile { padding: 60px 0 48px; }

  /* Burger */
  .nav-burger { display: flex; }

  /* Setup: mobile padding override */
  #how-mobile .how-heading { padding: 0 20px 36px; }
  .how-mobile-stack { padding: 0 20px; }



  /* Global: stop anything bleeding outside viewport */
  html, body { overflow-x: hidden; }
  * { max-width: 100%; }
  .hero-glow, .cta-glow, .problem-glow, .problem-glow-left { display: none; }

  /* Nav */
  .nav-inner { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-design-partner { display: none; }

  /* Hero */
  #hero { padding: 90px 0 60px; }
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 0 20px;
  }
  .hero-visual { display: none !important; }
  .hero-h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero-sub { font-size: 15px; line-height: 1.6; }
  .hero-ctas { gap: 12px; flex-direction: column; align-items: flex-start; }

  /* Problem */
  #problem { padding: 60px 0; }
  #problem .container { padding: 0 20px; }
  .problem-h2 { font-size: clamp(24px, 7vw, 36px); }
  .problem-sub { font-size: 15px; }
  .problem-panel {
    grid-template-columns: 1fr !important;
    padding: 0 20px;
  }
  .problem-col {
    border-right: none !important;
    border-bottom: 1px solid var(--border-dark);
    padding: 28px 0;
  }
  .problem-col:last-child { border-bottom: none; }

  /* Agents / Solution */
  #agents { padding: 60px 0 0; }
  .agents-heading {
    padding: 0 20px 40px !important;
    text-align: left;
    align-items: flex-start;
  }
  .agents-h2 { font-size: clamp(24px, 7vw, 36px); }
  .agents-sub { font-size: 15px; }
  .agents-split {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column;
  }
  .agents-right {
    order: -1;
    position: static !important;
    height: 280px !important;
    min-height: unset;
    padding: 20px !important;
    overflow: hidden;
  }

  /* Setup / How */
  #how { padding: 60px 0 60px; }
  .how-heading { padding: 0 20px 36px; }
  .how-h2 { font-size: clamp(22px, 7vw, 32px); }
  .how-cols {
    padding: 0 20px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .how-col {
    flex: 0 0 100% !important;
    padding: 20px 18px 18px;
    min-height: unset !important;
  }
  .how-col[data-col="2"] { min-height: unset !important; }
  .how-col-top h3 { font-size: 15px; }
  .how-col-top p { font-size: 12px; margin-bottom: 8px; }
  .how-col-card { margin-top: 12px; }

  /* In Action */
  #in-action { padding: 60px 0; }
  .action-heading { padding: 0 20px; margin-bottom: 28px; }
  .action-h2 { font-weight: 500; font-size: clamp(22px, 7vw, 32px); }
  .action-sub { font-size: 15px; }
  .action-tabs-secondary {
    padding: 0 20px;
    flex-wrap: wrap !important;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: flex-start;
    overflow-x: visible;
  }
  .action-subtabs.active { flex-wrap: wrap; gap: 8px; }
  .action-tab-secondary { font-size: 13px; padding: 7px 14px; }
  .action-window-wrap { padding: 0 20px; }
  .action-window-bar { padding: 10px 14px; }
  .action-window-body { padding: 10px 14px 20px; }
  /* Trim table to essentials on mobile */
  .ch:nth-child(n+5), .td-win, .eng-badge, .mom-badge { display: none; }

  /* CTA */
  #cta { padding: 80px 0; }
  .cta-inner { padding: 0 20px; max-width: 100%; }
  .cta-grid-bg { display: none; }
  .cta-h2 { font-size: clamp(28px, 9vw, 42px); }
  .cta-sub { font-size: 15px; margin-bottom: 36px; }
  .cta-actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .cta-btn-primary,
  .cta-btn-secondary { width: 100%; text-align: center; padding: 14px 24px; box-sizing: border-box; }

  /* Modal */
  .dp-modal {
    padding: 28px 20px;
    margin: 16px;
    width: calc(100% - 32px);
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Footer */
  footer { padding: 40px 0; }
  .footer-inner { padding: 0 20px; flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-logo-wrap { padding: 0; }
  .footer-links { gap: 16px; flex-wrap: wrap; padding: 0; }
}

/* ── Small mobile ≤390px ── */
@media (max-width: 390px) {
  .hero-h1 { font-size: 26px; }
  .how-col { padding: 16px 14px 14px; }
  .action-tab-secondary { font-size: 12px; padding: 6px 12px; }
  .cta-h2 { font-size: 24px; }
  .agents-right { height: 220px !important; }
}

/* Space Mono for all tags/labels/badges */
.section-label, .hero-label, .deal-badge, .prob-row-tag, .prob-row-tag.stale-tag,
.health-badge, .signal-label, .mockup-metric-label, .agent-num-tag {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
}
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }




#how {
  scroll-margin-top: 300px;
}
#how {
  background: var(--dark-2);
  padding: 120px 0 120px;
  border-top: 1px solid var(--border-dark);
}

.how-heading {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px 60px;
}

.how-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--text-light); margin-top: 16px;
}

.how-cols {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 92%, transparent 100%);
}

.how-cols-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-col {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  opacity: 0.5;
  flex: 0 0 calc(80% - 20px);
  transform: scale(0.95);
}

.how-col.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255,255,255,0.1);
}

.how-col-progress {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.how-col-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}

.how-step-num {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #5A5A6A;
  display: block; margin-bottom: 10px;
  font-family: 'Space Mono', monospace;
}

.how-col-top h3 {
  font-size: 17px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--text-light); line-height: 1.3;
  margin: 0 0 10px;
}

.how-col-top p {
  font-size: 13px; font-weight: 300; line-height: 1.7;
  color: #5A5A6A; margin: 0 0 16px;
}

.how-col-card {
  margin-top: 16px;
  padding-top: 1px;
  overflow: hidden;
}

.how-col[data-col="2"] {
  min-height: 600px;
}

.how-col-card .how-panel-card {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}


/* Compact card styles inside how-cols */
.how-col .how-panel-card { font-size: 12px; }
.how-col .how-panel-body { padding: 10px 12px 12px; }
.how-col .int-item { padding: 7px 9px; gap: 5px; }
.how-col .int-logo { width: 20px; height: 20px; border-radius: 4px; }
.how-col .int-logo svg { transform: scale(0.75); }
.how-col .int-name { font-size: 10px; }
.how-col .int-meta { font-size: 8.5px; }
.how-col .int-badge-connected { font-size: 8px; padding: 1px 5px; }
.how-col .int-btn-connect { font-size: 8px; padding: 2px 6px; }
.how-col .int-icon-action { width: 14px; height: 14px; font-size: 7px; }
.how-col .int-section-label { font-size: 9px; margin: 7px 0 5px; }
.how-col .integration-grid { gap: 5px; }
.how-col .hub-row { padding: 6px 0; gap: 8px; }
.how-col .hub-icon { font-size: 12px; }
.how-col .hub-label { font-size: 11px; }
.how-col .hub-detail { font-size: 10px; }
.how-col .hub-count { font-size: 10px; }
.how-col .hub-bar-track { height: 3px; }
.how-col .mcp-bubble { padding: 8px 10px; margin-bottom: 6px; }
.how-col .mcp-bubble-label { font-size: 9px; margin-bottom: 3px; }
.how-col .mcp-bubble-text { font-size: 11px; line-height: 1.5; }
.how-col .mcp-app-row { margin-top: 8px; gap: 4px; }
.how-col .mcp-app-chip { font-size: 10px; padding: 3px 8px; gap: 4px; }
.how-col .mcp-app-dot { width: 6px; height: 6px; }
.how-col .how-col-top p { font-size: 12px; margin-bottom: 10px; }
.how-col .how-step-extras { gap: 4px; margin-top: 8px; }
.how-col .logo-chip, .how-col .mcp-chip { font-size: 10px; padding: 3px 8px; }


/* Problem section - UI mockup crushes upward on scroll */
.prob-ui {
  overflow: hidden;
  transition: none;
  will-change: height, opacity;
}


/* ─── CTA SECTION ─── */
#cta {
  background: var(--dark);
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
}

.cta-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(12,255,212,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(12,255,212,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 100%, black 30%, transparent 100%);
}

.cta-glow {
  position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(12,255,212,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto; padding: 0 40px;
}

.cta-label {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #A8E6E4;
  background: rgba(12,255,212,0.08);
  border: 1px solid rgba(12,255,212,0.2);
  padding: 5px 14px; border-radius: 6px;
  margin-bottom: 32px;
}

.cta-h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.08;
  color: var(--text-white); margin-bottom: 20px;
}

.cta-sub {
  font-size: 18px; font-weight: 300; line-height: 1.6;
  color: var(--text-off-white); max-width: 520px;
  margin: 0 auto 48px;
}

.cta-actions {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}

.cta-btn-primary {
  display: inline-block;
  background: rgba(12,255,212,0.12); color: #A8E6E4;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  padding: 10px 22px; border-radius: 6px;
  text-decoration: none; border: 1px solid rgba(12,255,212,0.3); cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.cta-btn-primary:hover {
  background: rgba(12,255,212,0.2);
  border-color: rgba(12,255,212,0.5);
  transform: translateY(-1px);
}

.cta-btn-secondary {
  display: inline-block;
  color: var(--text-off-white);
  font-family: var(--font); font-size: 15px; font-weight: 400;
  padding: 14px 24px; border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  transition: all 0.2s; letter-spacing: -0.01em;
}

.cta-btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-white);
}

.cta-footnote {
  margin-top: 24px; font-size: 13px;
  color: var(--text-muted); font-weight: 300;
}


/* ─── PACE IN ACTION ─── */
#in-action {
  background: var(--light-bg);
  padding: 80px 0 80px;
  color: var(--text-dark);
}
/* action-heading rules moved to consolidated block */
.action-h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.03em; color: var(--text-dark); margin-bottom: 12px; text-align: center; }
.action-sub { font-size: 18px; font-weight: 300; color: #5A5A6A; text-align: center; margin-bottom: 32px; }
.action-tabs-primary { display: none; }
.action-tab-primary { padding: 10px 24px; border-radius: 8px; border: none; background: transparent; font-size: 15px; font-weight: 500; color: #888; cursor: pointer; transition: all 0.2s; }
.action-tab-primary.active { background: #fff; color: var(--text-dark); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.action-tab-primary:hover:not(.active) { color: var(--text-dark); }
.action-tabs-secondary {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  min-height: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}
.action-subtabs { display: none; gap: 6px; align-items: center; }
.action-subtabs.active { display: flex; }
.action-tab-secondary { padding: 9px 22px; border-radius: 100px; border: 1px solid #D8D8D4; background: transparent; font-size: 14px; font-weight: 500; color: #999; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; letter-spacing: 0.01em; min-width: fit-content; }
.action-tab-secondary.active { background: #0A7E7A; color: #fff; border-color: #0A7E7A; font-weight: 500; }
.action-tab-secondary:hover:not(.active) { color: var(--text-dark); border-color: #aaa; background: rgba(0,0,0,0.03); }
.action-window-wrap { max-width: 1000px; margin: 0 auto; padding: 0 40px; }
.action-window { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.15); background: #14151B; border: 1px solid rgba(255,255,255,0.08); }
.action-window-bar { background: #14151B; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.action-window-dots { display: flex; gap: 6px; }
.action-dot { width: 12px; height: 12px; border-radius: 50%; display: block; }
.action-window-body { padding: 14px 32px 36px; position: relative; }
.action-screens-wrap { position: relative; transition: height 0.38s cubic-bezier(0.4,0,0.2,1); overflow: hidden; }
.action-screen { position: absolute; top: 0; left: 0; right: 0; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.action-screen.active { opacity: 1; pointer-events: auto; }
@keyframes actionFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.action-caption { text-align: center; margin-top: 20px; font-size: 14px; color: #888; font-weight: 300; }
.mock-topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.mock-bar-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.mock-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.mock-stat-card { background: rgba(10,126,122,0.15); border: 1px solid rgba(10,126,122,0.25); border-radius: 8px; padding: 16px 20px; }
.mock-stat-card.amber { background: rgba(255,160,0,0.1); border-color: rgba(255,160,0,0.2); }
.mock-stat-val { font-size: 22px; font-weight: 600; color: #A8E6E4; margin-bottom: 4px; }
.mock-stat-card.amber .mock-stat-val { color: #FFB347; }
.mock-stat-label { font-size: 12px; color: rgba(255,255,255,0.4); }
.mock-table { width: 100%; }
.mock-table-head { display: flex; gap: 12px; padding: 8px 12px; margin-bottom: 4px; }
.mock-th { flex: 1; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.mock-table-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 6px; background: rgba(255,255,255,0.03); margin-bottom: 4px; }
.mock-td { flex: 1; font-size: 13px; color: rgba(255,255,255,0.55); }
.mock-td.bold { color: rgba(255,255,255,0.85); font-weight: 500; }
.mock-td.green { color: #A8E6E4; } .mock-td.amber { color: #FFB347; } .mock-td.red { color: #FF6B6B; } .mock-td.muted { color: rgba(255,255,255,0.3); }
.mock-pill { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 500; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5); }
.mock-pill.green { background: rgba(10,126,122,0.2); color: #A8E6E4; }
.mock-pill.amber { background: rgba(249,115,22,0.15); color: #FB923C; }
.mock-pill.red { background: rgba(255,80,80,0.15); color: #FF6B6B; }
.mock-pill.critical { background: rgba(220,38,38,0.2); color: #FF4444; font-weight: 700; }
.mock-pill.red, .mock-pill.high { background: rgba(255,140,0,0.18); color: #FF8C00; }
.mock-pill.medium { background: rgba(59,130,246,0.18); color: #60A5FA; }
.mock-pill.low { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.35); }
.mock-pill.complete { background: rgba(10,180,100,0.18); color: #4ADE80; }
.mock-deal-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.mock-deal-co { font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.9); }
.mock-deal-meta { font-size: 13px; color: rgba(255,255,255,0.35); }
.mock-health-badge { margin-left: auto; font-size: 12px; color: #A8E6E4; background: rgba(10,126,122,0.15); border: 1px solid rgba(10,126,122,0.3); padding: 4px 12px; border-radius: 100px; }
.mock-signals { display: flex; flex-direction: column; gap: 10px; }
.mock-signal { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 12px 16px; }
.mock-sig-icon { font-size: 16px; margin-top: 2px; }
.mock-sig-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.mock-sig-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.mock-risk-head { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.mock-risk-list { display: flex; flex-direction: column; gap: 8px; }
.mock-risk-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 8px; background: rgba(255,255,255,0.04); border-left: 3px solid transparent; }
.mock-risk-item.red { border-left-color: #FF6B6B; } .mock-risk-item.amber { border-left-color: #FFB347; }
.mock-risk-name { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); }
.mock-risk-tag { font-size: 12px; padding: 3px 10px; border-radius: 100px; }
.mock-risk-tag.red { background: rgba(255,80,80,0.15); color: #FF6B6B; }
.mock-risk-tag.amber { background: rgba(255,160,0,0.12); color: #FFB347; }
.mock-filter-head { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.mock-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mock-filter-chip { padding: 6px 14px; border-radius: 100px; font-size: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); cursor: pointer; }
.mock-filter-chip.active { background: rgba(10,126,122,0.2); border-color: rgba(10,126,122,0.35); color: #A8E6E4; }
.mock-forecast-head-row { display: flex; gap: 12px; padding: 8px 12px; margin-bottom: 4px; }
.mock-fh { flex: 1; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.mock-forecast-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 6px; background: rgba(255,255,255,0.03); margin-bottom: 4px; }
.mock-fd { flex: 1; font-size: 13px; color: rgba(255,255,255,0.55); }
.mock-fd.green { color: #A8E6E4; } .mock-fd.amber { color: #FFB347; } .mock-fd.red { color: #FF6B6B; }
.mock-slack-feed { display: flex; flex-direction: column; gap: 12px; }
.mock-slack-msg { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 14px 16px; }
.mock-slack-app { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.mock-slack-body { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.mock-at { color: #A8E6E4; }
.mock-task-head { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.mock-tasks { display: flex; flex-direction: column; gap: 8px; }
.mock-task { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 12px 16px; }
.mock-task-check { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,0.2); flex-shrink: 0; margin-top: 2px; }
.mock-task-name { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.mock-task-meta { font-size: 12px; color: rgba(255,255,255,0.3); }
.mock-email-draft { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 20px 24px; }
.mock-email-field { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.mock-email-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.3); min-width: 50px; }
.mock-email-val { color: rgba(255,255,255,0.7); }
.mock-email-body { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.mock-email-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 11px; color: rgba(255,255,255,0.25); }
.mock-activation-head { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.mock-integration-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
.mock-int-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 12px 14px; font-size: 13px; color: rgba(255,255,255,0.65); }
.mock-int-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-int-dot.connected { background: #A8E6E4; } .mock-int-dot.pending { background: #FFB347; }
.mock-int-status { margin-left: auto; font-size: 11px; color: #A8E6E4; }
.mock-int-status.pending { color: #FFB347; }
.mock-activation-stat { font-size: 13px; color: rgba(255,255,255,0.35); text-align: center; padding: 12px; background: rgba(255,255,255,0.03); border-radius: 6px; }
.mock-claude-wrap { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; }
.mock-claude-header { padding: 10px 16px; background: rgba(229,149,60,0.1); border-bottom: 1px solid rgba(229,149,60,0.15); font-size: 12px; font-weight: 500; color: #E5953C; }
.mock-claude-msg { padding: 14px 16px; font-size: 13px; line-height: 1.7; border-bottom: 1px solid rgba(255,255,255,0.04); }
.mock-claude-msg.user { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.03); }
.mock-claude-msg.assistant { color: rgba(255,255,255,0.6); }
.mock-claude-msg .green { color: #A8E6E4; }


/* ── Animated hero card ── */
.topbar { display: flex; align-items: center; gap: 10px; padding: 0 16px 6px; }
.pace-logo { width: 22px; height: 22px; flex-shrink: 0; }
.topbar-title { font-size: 20px; font-weight: 700; color: rgba(255,255,255,0.88); letter-spacing: -0.02em; }
.forecast-panel { margin: 14px 15px 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 5px; display: flex; overflow: hidden; }
.forecast-left { flex: 1; padding: 12px 14px 10px; min-width: 0; }
.forecast-label { font-size: 8px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 0; }
.bar-top-labels { display: flex; justify-content: flex-end; margin-bottom: 2px; }
.bar-top-label { font-size: 10px; color: rgba(255,255,255,0.3); }
.bar-top-label span { color: rgba(255,255,255,0.55); font-weight: 500; }
.bar-track { position: relative; height: 3px; background: rgba(255,255,255,0.07); border-radius: 1.5px; overflow: visible; margin-bottom: 6px; }
.bar-fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 1.5px; transform: scaleX(0); transform-origin: left; }
.bar-fill.base  { background: #EEEEEE; width: 100%; }
.bar-fill.peach { background: #F5D9BA; width: 67.6%; }
.bar-fill.red   { background: #FF6B6B; width: 43.6%; }
.bar-tick { position: absolute; left: 67.6%; top: -4px; width: 1px; height: 11px; background: rgba(150,150,150,0.55); transform: scaleY(0); transform-origin: top; transition: left 0.8s cubic-bezier(0.4,0,0.2,1); }
.bar-dot { position: absolute; left: 67.6%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #FF9900; border: 1.2px solid rgba(255,255,255,0.85); box-shadow: 0 0 6px rgba(0,0,0,0.6); transform: translate(-50%,-50%) scale(0); z-index: 2; transition: left 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.bar-dot.show { transform: translate(-50%,-50%) scale(1); }
.bar-bottom-labels { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.bar-bl-left { font-size: 10px; color: rgba(255,255,255,0.3); }
.bar-bl-left span { color: #FF6B6B; font-weight: 600; }
.bar-bl-right { font-size: 10px; color: rgba(255,255,255,0.3); }
.bar-bl-right span { color: #F5A623; font-weight: 600; }
.pipeline-label { font-size: 8px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-top: 14px; margin-bottom: 6px; }
.pipe-track { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; margin-bottom: 7px; position: relative; }
.pipe-fill { position: absolute; top: 0; height: 100%; width: 0; border-radius: 0; transition: width 0.7s cubic-bezier(0.4,0,0.2,1), left 0.7s cubic-bezier(0.4,0,0.2,1); }
.pipe-fill.pipe-commit   { left: 0; background: #0CFFD4; border-radius: 2px 0 0 2px; }
.pipe-fill.pipe-bestcase { background: #0CC2FF; border-radius: 0; }
.pipe-fill.pipe-pipeline { background: #A78BFA; opacity: 0.8; border-radius: 0 2px 2px 0; }
.pipe-legend { display: flex; gap: 14px; align-items: center; }
.pipe-legend-item { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: rgba(255,255,255,0.3); white-space: nowrap; }
.pipe-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pipe-legend-item .amount { color: rgba(255,255,255,0.5); font-weight: 500; }
.coverage-label { margin-left: auto; font-size: 9.5px; color: rgba(255,255,255,0.28); }
.coverage-label span { color: rgba(255,255,255,0.5); }
.forecast-divider { width: 1px; background: rgba(255,255,255,0.06); flex-shrink: 0; }
.forecast-right { width: 116px; flex-shrink: 0; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.ai-label { font-size: 8px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 6px; }
.ai-value { font-size: 23px; font-weight: 700; color: #F5A623; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.table-wrap { margin: 0 15px 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 5px; overflow: hidden; }
.col-head { display: grid; grid-template-columns: 138px 60px 80px 74px 46px 72px; padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,0.045); }
.ch { font-size: 7.5px; font-weight: 700; letter-spacing: 0.55px; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.t-row { display: grid; grid-template-columns: 138px 60px 80px 74px 46px 72px; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,0.03); align-items: center; position: relative; opacity: 0; transform: translateY(5px); }
.t-row:last-child { border-bottom: none; }
.t-row.active { background: rgba(12,255,212,0.025); }
.t-row.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #0CFFD4; border-radius: 0 1px 1px 0; }
.deal-cell { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 2px; }
.deal-dot { width: 11px; height: 11px; border-radius: 2px; flex-shrink: 0; }
.deal-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-amount { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.td-stage { font-size: 10.5px; color: rgba(255,255,255,0.32); }
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 7px; border-radius: 9px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.badge.best-case { background: rgba(12,194,255,0.14); color: #0CC2FF; }
.badge.commit    { background: rgba(0,214,143,0.14); color: #0CFFD4; }
.badge.pipeline  { background: rgba(167,139,250,0.14); color: #A78BFA; }
.td-win { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.td-win.high   { color: #0CFFD4; }
.td-win.medium { color: #F5A623; }
.td-win.low    { color: #EF4444; }
.eng-badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 7px; border-radius: 9px; font-size: 9px; font-weight: 700; }
.eng-badge.high   { background: rgba(16,198,168,0.12); color: #10C6A8; }
.eng-badge.medium { background: rgba(245,166,35,0.12); color: #F5A623; }
.eng-badge.low    { background: rgba(236,68,68,0.12);  color: #EC4444; }
.mom-badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 7px; border-radius: 9px; font-size: 9px; font-weight: 700; }
.mom-badge.positive { background: rgba(16,198,168,0.12); color: #10C6A8; }
.mom-badge.neutral  { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); }
.mom-badge.negative { background: rgba(236,68,68,0.12);  color: #EC4444; }

/* Action panel pipeline — full width, 7 columns */
.ap-col-head { display: grid; grid-template-columns: 1.8fr 0.7fr 0.9fr 0.9fr 0.55fr 0.8fr 0.9fr; padding: 7px 12px; border-bottom: 1px solid rgba(255,255,255,0.045); }
.ap-t-row    { display: grid; grid-template-columns: 1.8fr 0.7fr 0.9fr 0.9fr 0.55fr 0.8fr 0.9fr; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.03); align-items: center; position: relative; }
.ap-t-row:last-child { border-bottom: none; }
.ap-t-row.active { background: rgba(12,255,212,0.025); }
.ap-t-row.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #0CFFD4; border-radius: 0 1px 1px 0; }
.hero-card-chat { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin: 0 15px 15px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 5px; }
.hero-card-chat-icon { width: 22px; height: 22px; border-radius: 7px; background: rgba(12,255,212,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card-chat-icon svg { width: 11px; height: 11px; }
.hero-card-chat-text { flex: 1; font-size: 11.5px; color: rgba(255,255,255,0.2); }
.chat-cursor { display: inline-block; width: 1.5px; height: 11px; background: rgba(12,255,212,0.6); vertical-align: middle; margin-left: 1px; animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-card-chat-send { opacity: 0.28; display: flex; align-items: center; }
.hero-card-chat-send svg { width: 14px; height: 14px; }

/* ── Agents: two versions ── */
#agents-mobile {
  display: none;
  background: var(--dark-2);
  color: var(--text-white);
  width: 100%;
  overflow-x: hidden;
}
#agents-mobile .agents-heading {
  text-align: left !important;
  align-items: flex-start !important;
  padding: 0 20px 36px !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
  #agents-mobile .agents-heading { padding: 0 32px 40px !important; }
}
#agents-mobile .agents-h2 { color: var(--text-white); text-align: left !important; width: 100%; }
#agents-mobile .agents-sub { color: rgba(255,255,255,0.5); text-align: left !important; max-width: 100%; width: 100%; }
#agents-mobile .section-label { color: #A8E6E4 !important; background: rgba(12,255,212,0.08) !important; border-color: rgba(12,255,212,0.2) !important; }

.agents-mobile-stack { padding: 0; width: 100%; }
.agents-mobile-item {
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.agents-mobile-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.agents-mobile-copy {
  padding: 28px 20px 20px;
}
.agents-mobile-copy .agent-block {
  min-height: unset !important;
  padding: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  display: block !important;
  justify-content: unset !important;
}
.agents-mobile-copy .agent-num-tag {
  color: #A8E6E4 !important;
  background: rgba(12,255,212,0.08) !important;
  border-color: rgba(12,255,212,0.2) !important;
  margin-bottom: 14px !important;
}
.agents-mobile-copy .agent-title {
  margin-bottom: 10px !important;
}
.agents-mobile-copy .agent-desc {
  margin-bottom: 0 !important;
  max-width: 100% !important;
}
.agents-mobile-copy .agent-title {
  color: var(--text-white) !important;
  font-size: clamp(20px, 5vw, 28px);
}
.agents-mobile-copy .agent-desc {
  color: rgba(255,255,255,0.55) !important;
  max-width: 100%;
}
.agents-mobile-copy .agent-cta { display: none; }

.agents-mobile-visual {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  padding: 20px 20px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .agents-mobile-visual { padding: 20px 32px; }
}
/* Force agent panels visible inside mobile section */
#agents-mobile .agent-panel {
  position: static !important;
  inset: auto !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  display: flex !important;
  height: auto !important;
  margin: 0 !important;
}


/* ── Setup section: desktop carousel / mobile stacked ── */
.how-desktop { display: block; }
.how-mobile  { display: none; }
.how-mobile-stack {
  padding: 0 20px;
  display: flex; flex-direction: column; gap: 32px;
}
.how-mobile-item {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.how-mobile-item-header {
  padding: 20px 18px 12px;
}
.how-mobile-item-header .how-step-num {
  display: block; margin-bottom: 8px;
}
.how-mobile-item-header h3 {
  font-size: 16px; font-weight: 500; color: var(--text-light);
  margin: 0 0 6px; letter-spacing: -0.02em;
}
.how-mobile-item-header p {
  font-size: 12px; color: #5A5A6A; line-height: 1.6; margin: 0;
}
.how-mobile-item-visual {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--dark);
  overflow: hidden;
}
.how-mobile-item-visual .how-panel-card {
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.how-mobile-item-visual .how-col-card {
  margin-top: 0;
  padding-top: 0;
}

/* ── In-action: desktop / mobile versions ── */
.in-action-desktop { display: block; }
.in-action-mobile  { display: none; }
.in-action-mobile-stack {
  padding: 0 20px;
  display: flex; flex-direction: column; gap: 24px;
}
.in-action-mobile-item {}
.in-action-mobile-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #5A5A6A;
  margin-bottom: 8px;
  font-family: 'Space Mono', monospace;
}
.in-action-mobile-screen {
  background: #14151B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}

/* Hero mobile image */
.hero-mobile-img { display: none; }
@media (max-width: 767px) {
  .hero-mobile-img {
    display: block;
    padding: 0;
    margin-top: 32px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-mobile-img > div {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .hero-mobile-img {
    display: block;
    padding: 0;
    margin-top: 40px;
    box-sizing: border-box;
    overflow: hidden;
  }
}
