/* ============================================================
   Delphi Landing Page -- Page-specific styles
   Extends main.css design tokens and patterns
   ============================================================ */

/* --- Delphi accent colour --- */
:root {
  --delphi-accent: #4ecdc4;
  --delphi-accent-dim: rgba(78, 205, 196, 0.12);
  --delphi-glow: rgba(78, 205, 196, 0.06);
}

/* --- Nav Product Name --- */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.nav-separator {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--border-strong);
  margin: 0 14px;
}
.nav-product-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--delphi-accent);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* --- Hero Stats Bar -- hero number prominence --- */
.delphi-stats .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.delphi-stats-hero {
  text-align: center;
  padding: 20px 0 12px;
}
.delphi-stats-hero .proof-number {
  font-size: clamp(52px, 8vw, 88px);
  color: var(--delphi-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.delphi-stats-hero .proof-label {
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--gray-400);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
}
.delphi-stats-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  width: 100%;
  max-width: 600px;
  padding: 8px 0;
}

/* --- Social proof line --- */
.delphi-social-proof {
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.delphi-social-proof strong {
  color: var(--gray-400);
  font-weight: 600;
}

/* --- Platform Preview --- */
.delphi-preview-section {
  padding-top: 0;
  padding-bottom: var(--section-padding);
}
.delphi-preview {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(78, 205, 196, 0.12);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(78, 205, 196, 0.04);
}
.delphi-preview-img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Hero CTA pair --- */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta .btn-primary {
  background: var(--delphi-accent);
  color: var(--black);
  font-weight: 600;
}
.hero-cta .btn-primary:hover {
  box-shadow: 0 4px 32px rgba(78, 205, 196, 0.25);
}
.hero-cta .btn-secondary {
  margin-left: 0 !important;
}

/* ============================================================
   Capability Pillars
   ============================================================ */
.delphi-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.delphi-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.delphi-pillar:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.delphi-pillar h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 12px;
}
.delphi-pillar-desc {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.8;
}
.delphi-pillar-capabilities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.delphi-pillar-capabilities li {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.delphi-pillar-capabilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* ============================================================
   Audience Grid
   ============================================================ */
.delphi-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.delphi-audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.delphi-audience-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.delphi-audience-card h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 20px;
}
.delphi-audience-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.delphi-audience-list li {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.delphi-audience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* ============================================================
   Credibility Signals
   ============================================================ */
.delphi-credibility-section {
  padding-top: 0;
  padding-bottom: var(--section-padding);
}
.delphi-credibility {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.delphi-credibility-item {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: left;
}
.delphi-credibility-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.delphi-credibility-text {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================================
   Cartwright Section
   ============================================================ */
.delphi-cartwright {
  max-width: 860px;
  margin: 0 auto;
}
.delphi-cartwright-content {
  text-align: left;
}
.delphi-cartwright-body {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.85;
}
.delphi-cartwright-body strong {
  color: var(--white);
  font-weight: 600;
}
.delphi-cartwright-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
}
.delphi-cartwright-point {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.delphi-cartwright-point h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--white);
}
.delphi-cartwright-point p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================================
   ROI Section
   ============================================================ */
/* --- ROI Calculator (Interactive) --- */
.roi-events {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.roi-event-pill {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.roi-event-pill:hover {
  border-color: var(--border-strong);
  color: var(--white);
}
.roi-event-pill.active {
  background: var(--delphi-accent);
  border-color: var(--delphi-accent);
  color: var(--black);
  font-weight: 600;
}

.roi-calculator {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  text-align: left;
}

.roi-calc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(28px, 3vw, 40px);
  gap: 24px;
}
.roi-calc-event h3 {
  margin-bottom: 8px;
}
.roi-event-meta {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.5;
}
.roi-calc-value {
  text-align: right;
  flex-shrink: 0;
}
.roi-value-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--delphi-accent);
  line-height: 1.1;
  margin-bottom: 4px;
  min-width: 200px;
  font-variant-numeric: tabular-nums;
}
.roi-value-label {
  font-size: 14px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.roi-slider-section {
  margin-bottom: clamp(28px, 3vw, 40px);
  padding-bottom: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--border);
}
.roi-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.roi-slider-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}
.roi-slider-pct {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  color: var(--white);
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--delphi-accent);
  cursor: pointer;
  border: 2px solid var(--black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}
.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.roi-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--delphi-accent);
  cursor: pointer;
  border: 2px solid var(--black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.roi-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray-500);
}

.roi-retailers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.roi-retailer-row {
  display: grid;
  grid-template-columns: 140px 100px 1fr;
  align-items: center;
  gap: 16px;
}
.roi-retailer-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-300);
  white-space: nowrap;
}
.roi-retailer-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.roi-retailer-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.roi-retailer-bar {
  height: 100%;
  background: var(--delphi-accent);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}

.roi-source {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-500);
  opacity: 0.6;
}

/* --- Timeline WIP marker --- */
.timeline-bar-wip {
  position: relative;
  overflow: visible;
}
.timeline-wip-marker {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.timeline-wip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e53935;
  border: 2px solid var(--black);
  box-shadow: 0 0 8px rgba(229, 57, 53, 0.5);
  flex-shrink: 0;
}
.timeline-wip-arrow {
  width: 2px;
  height: 16px;
  background: #e53935;
  flex-shrink: 0;
}
.timeline-wip-label {
  position: absolute;
  top: -6px;
  left: calc(50% + 16px);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #e53935;
  letter-spacing: 0.01em;
}

.roi-download-link {
  color: var(--delphi-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.roi-download-link:hover {
  opacity: 0.8;
}
.delphi-roi-closing {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.delphi-roi-closing p {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--gray-300);
  line-height: 1.8;
  opacity: 0.85;
}

/* Compounds line */
.delphi-compounds {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--gray-400);
  line-height: 1.7;
  font-style: italic;
}

/* ============================================================
   Ask Delphi Demo
   ============================================================ */
.delphi-questions-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--delphi-glow), transparent),
    linear-gradient(180deg, rgba(78, 205, 196, 0.02) 0%, transparent 60%);
  border-top: 1px solid rgba(78, 205, 196, 0.08);
  border-bottom: 1px solid rgba(78, 205, 196, 0.08);
}
.delphi-demo {
  max-width: 960px;
  margin: 0 auto;
  min-height: 400px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(78, 205, 196, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow:
    0 0 80px rgba(78, 205, 196, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.3);
}
.delphi-demo-question {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3.8vw, 42px);
  color: var(--white);
  line-height: 1.3;
  min-height: 1.5em;
  margin-bottom: clamp(28px, 4vw, 44px);
  letter-spacing: -0.01em;
}
.delphi-demo-question::after {
  content: '|';
  animation: delphi-blink 0.7s step-end infinite;
  color: var(--delphi-accent);
  margin-left: 2px;
  font-weight: 300;
}
.delphi-demo-question.done::after {
  display: none;
}
@keyframes delphi-blink {
  50% { opacity: 0; }
}
.delphi-demo-answer {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--gray-300);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.delphi-demo-answer.visible {
  opacity: 1;
  transform: translateY(0);
}
.delphi-demo-answer strong {
  color: var(--delphi-accent);
  font-weight: 600;
}
.delphi-demo-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 40px);
}
.delphi-demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(78, 205, 196, 0.3);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.delphi-demo-dot:hover {
  transform: scale(1.3);
}
.delphi-demo-dot.active {
  background: var(--delphi-accent);
  border-color: var(--delphi-accent);
}

/* --- Static question cards below demo --- */
.delphi-demo-questions {
  margin-top: clamp(48px, 5vw, 72px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.delphi-demo-questions-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.delphi-demo-questions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.delphi-demo-q-card {
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 17px;
  color: var(--gray-300);
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.2s ease;
}
.delphi-demo-q-card:hover {
  border-color: rgba(78, 205, 196, 0.25);
  color: var(--white);
  background: rgba(78, 205, 196, 0.04);
}

/* ============================================================
   GDPR Notice
   ============================================================ */
.delphi-gdpr {
  margin-top: 24px !important;
  font-size: clamp(14px, 1.4vw, 16px) !important;
  opacity: 0.6 !important;
}

/* ============================================================
   Price Intelligence Stats
   ============================================================ */
.delphi-price-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.delphi-price-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}
.delphi-price-label {
  font-size: 14px;
  color: var(--gray-400);
  opacity: 0.75;
}

/* ============================================================
   Pipeline Visualisation
   ============================================================ */
.delphi-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.delphi-pipeline-step {
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease;
}
.delphi-pipeline-step:hover {
  border-color: var(--border-strong);
}
.delphi-pipeline-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.delphi-pipeline-desc {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 4px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}
.delphi-pipeline-arrow {
  width: 24px;
  height: 1px;
  background: var(--border-strong);
  position: relative;
  flex-shrink: 0;
}
.delphi-pipeline-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 0;
  height: 0;
  border-left: 6px solid var(--border-strong);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}

/* ============================================================
   Screenshot Carousel
   ============================================================ */
.delphi-carousel { max-width: 960px; margin: 0 auto; }
.delphi-carousel-tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.delphi-carousel-tab { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); padding: 10px 20px; border-radius: 6px; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; transition: all 0.25s ease; }
.delphi-carousel-tab:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.delphi-carousel-tab.active { background: rgba(193,155,96,0.15); border-color: rgba(193,155,96,0.4); color: #c19b60; }
.delphi-carousel-panel { display: none; animation: carouselFadeIn 0.35s ease; }
.delphi-carousel-panel.active { display: block; }
@keyframes carouselFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.delphi-carousel-panels { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 8px 32px rgba(0,0,0,0.4); background: #0a0a0a; }
.delphi-carousel-panel img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.delphi-carousel-caption { text-align: center; color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 16px; line-height: 1.5; max-width: 640px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .delphi-carousel-tab { padding: 8px 14px; font-size: 0.78rem; } }

/* ============================================================
   Waitlist Form
   ============================================================ */
.delphi-waitlist-section {
  padding-bottom: var(--section-padding);
}
.delphi-waitlist {
  max-width: 520px;
  margin: 0 auto;
}

/* Honeypot -- visually hidden */
.delphi-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.delphi-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.delphi-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.delphi-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.delphi-form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.delphi-form-field input {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--white);
  transition: border-color 0.2s ease;
}
.delphi-form-field input::placeholder {
  color: var(--gray-500);
}
.delphi-form-field input:focus,
.delphi-form-field select:focus,
.delphi-form-field textarea:focus {
  outline: none;
  border-color: var(--border-strong);
}

.delphi-form-field select {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--white);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.delphi-form-field select option {
  background: var(--surface);
  color: var(--white);
}

.delphi-form-field textarea {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--white);
  transition: border-color 0.2s ease;
  resize: vertical;
  min-height: 56px;
}
.delphi-form-field textarea::placeholder {
  color: var(--gray-500);
}

.delphi-form-error {
  font-size: 14px;
  color: #ff6b6b;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 107, 0.08);
}

.delphi-submit {
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.delphi-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.delphi-waitlist-success {
  text-align: center;
  padding: 48px 24px;
}
.delphi-waitlist-success h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}
.delphi-waitlist-success p {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.6;
}
.delphi-waitlist-success a {
  color: var(--gray-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.delphi-waitlist-success a:hover {
  color: var(--white);
}

.delphi-waitlist-fallback {
  margin-top: 20px;
  font-size: 15px;
  color: var(--gray-500);
  text-align: center;
}
.delphi-waitlist-fallback a {
  color: var(--gray-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.delphi-waitlist-fallback a:hover {
  color: var(--white);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  /* Stats -- hero number stays centred, secondary stays 3-col */
  .delphi-stats-secondary { max-width: 100%; }

  /* Cartwright */
  .delphi-cartwright-points { grid-template-columns: 1fr; }

  /* Pillars */
  .delphi-pillars { grid-template-columns: 1fr; }

  /* ROI Calculator */
  .roi-calc-top { flex-direction: column; }
  .roi-calc-value { text-align: left; }
  .roi-retailer-row { grid-template-columns: 120px 80px 1fr; gap: 8px; }
  .roi-retailer-name { font-size: 14px; }
  .roi-retailer-value { font-size: 14px; }

  /* Credibility */
  .delphi-credibility { grid-template-columns: 1fr; }

  /* Audience grid */
  .delphi-audience-grid { grid-template-columns: 1fr; }

  /* Price stats */
  .delphi-price-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Pipeline wraps */
  .delphi-pipeline { gap: 8px; }
  .delphi-pipeline-arrow {
    width: 1px;
    height: 16px;
    background: var(--border-strong);
  }
  .delphi-pipeline-arrow::after {
    right: -3px;
    top: auto;
    bottom: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 6px solid var(--border-strong);
    border-bottom: none;
  }
  .delphi-pipeline {
    flex-direction: column;
  }
  .delphi-pipeline-step {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Demo container */
  .delphi-demo {
    padding: 28px 20px;
  }

  /* Form row */
  .delphi-form-row { grid-template-columns: 1fr; }
}
