/* Home page only */

.hero { padding: 120px 0 140px; }
.hero h1 { animation: rise 800ms var(--ease) both; }
.hero-sub { animation: rise 800ms var(--ease) 100ms both; }
.hero-ctas { animation: rise 800ms var(--ease) 200ms both; }
.hero-inner { max-width: 880px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--mist-16);
  border-radius: 100px;
  background: var(--mist-04);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist-80);
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flow-teal);
  box-shadow: 0 0 12px var(--flow-teal);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-pad { padding: 120px 0; }

/* Intel gap */
.intel-gap { border-top: 1px solid var(--mist-08); position: relative; }
.intel-gap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 80px;
  background: var(--grad);
  opacity: 0.3;
  transform: translateX(-50%);
}
.intel-gap-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.intel-gap-inner h2 { margin-bottom: 32px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.intel-gap-inner p { font-size: 19px; line-height: 1.55; margin: 0 auto 20px; max-width: 56ch; }
.intel-gap-pull {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.45;
  color: var(--mist);
  max-width: 50ch;
  margin: 32px auto 0;
}

/* Why this is hard */
.why-hard {
  background: linear-gradient(180deg, var(--ink) 0%, #0a1422 100%);
  position: relative;
}
.why-hard-header { max-width: 760px; margin: 0 auto 64px; text-align: left; }
.why-hard-header h2 { margin-bottom: 24px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0;
  padding: 32px 0;
  border-top: 1px solid var(--mist-08);
  border-bottom: 1px solid var(--mist-08);
}
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; gap: 20px; } }
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  background: var(--grad-90);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 14px; line-height: 1.5; color: var(--mist-60); }
.failure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
@media (max-width: 900px) { .failure-grid { grid-template-columns: 1fr; } }
.failure-card {
  background: var(--deep-navy);
  border: 1px solid var(--mist-08);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 300ms var(--ease);
}
.failure-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-90);
  opacity: 0.5;
  transition: opacity 300ms var(--ease);
}
.failure-card:hover { border-color: var(--mist-16); transform: translateY(-2px); }
.failure-card:hover::before { opacity: 1; }
.failure-icon { width: 36px; height: 36px; margin-bottom: 18px; color: var(--flow-teal); }
.failure-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--mist); font-weight: 600; }
.failure-card .lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  color: var(--mist);
  margin-bottom: 8px;
  line-height: 1.4;
}
.failure-card p { font-size: 14px; line-height: 1.55; color: var(--mist-60); }
.closer-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.45;
  color: var(--mist);
  max-width: 56ch;
  margin-bottom: 16px;
}

/* ChatGPT */
/* `minmax(0, 1fr)` instead of `1fr` is the key fix — without it, grid
   tracks expand to their items' min-content size, and the .cv card's
   nowrap prompt text was pushing the column (and therefore the sibling
   .chatgpt-text paragraphs) wider than the viewport. */
.chatgpt { padding: 120px 0; background: var(--ink); border-top: 1px solid var(--mist-08); overflow-x: clip; }
.chatgpt-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.chatgpt-text { min-width: 0; }
@media (max-width: 900px) {
  .chatgpt { padding: 80px 0; }
  .chatgpt-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
.chatgpt-text h2 { margin-bottom: 24px; max-width: 16ch; font-style: italic; }
.chatgpt-text p { margin-bottom: 18px; }
.chatgpt-text p:last-child { margin-bottom: 0; }
.chatgpt-visual { aspect-ratio: 4/3; min-height: 360px; min-width: 0; max-width: 100%; }
@media (max-width: 900px) {
  .chatgpt-visual { aspect-ratio: auto; min-height: 0; }
}

/* ── "Same prompt. Three runs." illustration ─────────────────────
   Abstract visual for the ChatGPT-comparison section. The single
   prompt at the top fans out to three differently-shaped output
   silhouettes — different bar counts, different widths, one missing
   field — to show that the same input produces different output
   shapes from a chatbot. No real text, no real screenshots. */
.cv {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--mist-08);
  border-radius: 16px;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.cv-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  flex-shrink: 0;
}
.cv-prompt-icon { color: var(--current-blue); flex-shrink: 0; }
.cv-prompt-label {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current-blue);
  flex-shrink: 0;
}
.cv-prompt-text {
  color: var(--mist-80);
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 0;
}

.cv-fan {
  width: 100%;
  height: 26px;
  color: var(--mist-40);
  margin-top: 6px;
  flex-shrink: 0;
}

.cv-runs {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: start;
  min-height: 0;
}

.cv-run {
  background: var(--mist-04);
  border: 1px solid var(--mist-08);
  border-radius: 10px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Light "wonky" feel — each card sits at a slightly different angle
   to reinforce the "loose, unpredictable output" reading. */
.cv-run-1 { transform: rotate(-0.7deg); }
.cv-run-2 { transform: rotate(0.5deg)  translateY(6px); }
.cv-run-3 { transform: rotate(-0.3deg) translateY(-3px); }

/* Chatbot-style header on each run — sparkle + provider name. Makes it
   visually obvious these cards are LLM outputs, not Enterprise Researcher
   cards. Provider names are cited in text only (no logos). */
.cv-run-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--mist-08);
}
.cv-run-bot {
  color: var(--mist-60);
  flex-shrink: 0;
}
.cv-run-name {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--mist-80);
}

.cv-bar {
  display: block;
  height: 6px;
  width: var(--w, 50%);
  background: var(--mist-16);
  border-radius: 3px;
}

/* Verdict pill — the heat. Three runs, three different colors for the
   same question. Eye registers green/amber/red before reading anything. */
.cv-verdict {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 3px 10px;
  border-radius: 6px;
  margin: 2px 0 4px;
  border: 1px solid transparent;
  line-height: 1.4;
}
.cv-verdict-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.38);
}
/* Purple — used for the overconfident wrong answer. Picked specifically
   to avoid green/teal, which the eye reads as "this one is correct." */
.cv-verdict-purple {
  background: rgba(139, 92, 246, 0.13);
  color: #C9B6F7;
  border-color: rgba(139, 92, 246, 0.40);
}
.cv-verdict-red {
  background: rgba(248, 113, 113, 0.12);
  color: #F87171;
  border-color: rgba(248, 113, 113, 0.38);
}

.cv-conclusion {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--mist-80);
  font-style: italic;
  margin: 0 0 6px;
  max-width: none;
}

/* "Sources" block — a one-line technical confession from the model
   sitting under the bars. Dashed top-border separates it from the
   "content" bars above without adding visual weight. */
.cv-sources {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--mist-08);
}
.cv-sources-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist-40);
  margin-bottom: 2px;
}
.cv-sources-text {
  display: block;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--mist-60);
  font-style: italic;
}

.cv-caption {
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-60);
  margin-top: 14px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  /* Narrow viewports: card labels can be hidden to give bars more room. */
  .cv-prompt-text { font-size: 11.5px; }
  .cv-run { padding: 10px; }
}

/* Stack the three "chatbot run" cards on mobile so the section doesn't
   overflow horizontally and the caption no longer collides with them.
   Cards also lose their wonky rotation/offset at this size since they
   no longer sit side-by-side. `flex: none` on .cv-runs is critical:
   .cv is auto-height here (no aspect-ratio cage), so the original
   `flex: 1 1 0` would resolve to 0 and stack all three cards at the
   same Y position. .cv also drops `height: 100%` for the same reason. */
@media (max-width: 700px) {
  .cv { height: auto; overflow: visible; }
  .cv-runs { grid-template-columns: 1fr; gap: 10px; flex: none; }
  .cv-run-1, .cv-run-2, .cv-run-3 { transform: none; }
  .cv-fan { display: none; }
  .cv-caption { margin-top: 18px; }
}

/* Mid-funnel CTA */
.midcta { padding: 100px 0; position: relative; }
.midcta-inner {
  background: var(--deep-navy);
  border: 1px solid var(--mist-08);
  border-radius: 24px;
  padding: 56px 48px 56px 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  /* Image side gets ~55% of horizontal real estate so the stacked-card
     screenshot reads at a usable size without dwarfing the copy. */
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .midcta-inner { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; } }
.midcta-inner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.15), transparent 60%);
  pointer-events: none;
}
.midcta-content { position: relative; z-index: 1; }
.midcta h2 { margin-bottom: 20px; }
.midcta p { margin-bottom: 16px; font-size: 16px; }
.midcta-btn-wrap { margin-top: 24px; }
/* Visual column: no aspect-ratio cage — the image's intrinsic 1400×871
   width/height attributes drive the reserved space, preventing layout shift. */
.midcta-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.midcta-visual-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  user-select: none;
  pointer-events: none;
}

/* What we deliver */
.deliver { padding: 120px 0; background: linear-gradient(180deg, #0a1422 0%, var(--ink) 100%); }
.deliver-header { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.deliver-header .eyebrow { display: inline-block; }
.deliver-header h2 { margin-bottom: 20px; }
.deliver-header p { margin: 0 auto; }
.deliver-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .deliver-grid { grid-template-columns: 1fr; } }
.deliver-card {
  background: var(--deep-navy);
  border: 1px solid var(--mist-08);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 400ms var(--ease);
  display: flex;
  flex-direction: column;
}
.deliver-card:hover { border-color: var(--mist-16); transform: translateY(-4px); }
.deliver-card-mark {
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  opacity: 0.08;
  transition: opacity 400ms var(--ease);
}
.deliver-card:hover .deliver-card-mark { opacity: 0.18; }
.deliver-card .eyebrow { display: block; }
.deliver-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--mist);
  letter-spacing: -0.01em;
  max-width: 18ch;
  position: relative;
}
.deliver-card p { font-size: 16px; line-height: 1.6; color: var(--mist-80); margin-bottom: 24px; position: relative; }
.deliver-card .why-list { list-style: none; padding: 0; margin: 0 0 28px 0; position: relative; }
.deliver-card .why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--mist-80);
  line-height: 1.5;
}
.deliver-card .why-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flow-teal);
  margin-top: 8px;
}
.deliver-card .card-cta { margin-top: auto; position: relative; }

/* Social proof */
.proof { padding: 120px 0; }
.proof-header { max-width: 720px; margin-bottom: 56px; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .proof-grid { grid-template-columns: 1fr; } }
.quote-card {
  background: var(--deep-navy);
  border: 1px solid var(--mist-08);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}
.quote-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.6;
  color: var(--flow-teal);
  margin-bottom: 16px;
  display: block;
}
.quote-card blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  color: var(--mist);
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.quote-attr { border-top: 1px solid var(--mist-08); padding-top: 20px; }
.quote-name { font-weight: 600; color: var(--mist); font-size: 15px; margin-bottom: 2px; }
.quote-role { color: var(--mist-60); font-size: 14px; }
