/* ── DESIGN TOKENS ── */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --bg-card: #16161a;
  --fg: #f0f0f2;
  --fg-muted: #8a8a9a;
  --fg-subtle: #4a4a5a;
  --accent: #6c63ff;
  --accent-glow: rgba(108, 99, 255, 0.15);
  --accent-hover: #5a52e0;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(108, 99, 255, 0.25);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
p { color: var(--fg-muted); line-height: 1.75; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 0 3px var(--accent-glow); }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* Secondary CTA — Pilot Sprint buy button. Teal so it reads as fast-path without competing with primary. */
.btn-secondary {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  font-family: var(--font);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn-secondary:hover { background: #0f766e; box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2); }

/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.04em;
}
nav { display: flex; gap: 1.75rem; align-items: center; }
nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 6rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -50px;
  background: radial-gradient(circle, rgba(108,99,255,0.06) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  background: var(--accent-glow);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-accent);
}
.hero-content h1 { color: var(--fg); margin-bottom: 1.5rem; }
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-content .lede {
  font-size: 1.05rem;
  max-width: 44ch;
  margin-bottom: 2rem;
}
.hero-hint {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--fg-subtle);
}

/* ── HERO CALENDAR VISUAL ── */
.hero-visual { display: flex; justify-content: center; }
.cal-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.cal-header {
  background: var(--bg-3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.cal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.cal-dot-red { background: #ff5f57; }
.cal-dot-yellow { background: #febc2e; }
.cal-dot-green { background: #28c840; }
.cal-title {
  font-size: 0.7rem;
  color: var(--fg-subtle);
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
}
.cal-body { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cal-event {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-3);
}
.cal-event-booked { border-color: rgba(108,99,255,0.2); }
.cal-event-pending { border-color: rgba(40,200,64,0.2); }
.event-time {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--fg-subtle);
  white-space: nowrap;
  min-width: 48px;
}
.event-info { flex: 1; min-width: 0; }
.event-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-meta { font-size: 0.6rem; color: var(--fg-subtle); margin-top: 0.1rem; }
.event-badge {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(108,99,255,0.15);
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-badge-pending {
  background: rgba(40,200,64,0.1);
  color: #28c840;
}
.cal-footer {
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-3);
}
.cal-tag {
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ── RESULTS STRIP ── */
.results {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.results-inner { max-width: 1100px; margin: 0 auto; }
.results-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.result-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.result-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
}
.result-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.result-note {
  color: var(--fg-subtle);
  font-size: 0.7rem;
}
.result-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}
.results-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--fg-subtle);
  text-align: center;
}

/* ── PROBLEM ── */
.problem { padding: 6rem 2rem; background: var(--bg); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-header { margin-bottom: 3rem; }
.problem-header h2 { color: var(--fg); max-width: 50ch; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.problem-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 80, 80, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6060;
  flex-shrink: 0;
}
.problem-card h3 { color: var(--fg); }
.problem-card p { font-size: 0.9rem; }

/* ── HOW IT WORKS ── */
.how { padding: 6rem 2rem; background: var(--bg-2); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { margin-bottom: 3rem; }
.how-header h2 { color: var(--fg); }
.step-list { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 0.2rem;
}
.step-content h3 { color: var(--fg); margin-bottom: 0.75rem; }
.step-content p { font-size: 0.95rem; max-width: 60ch; }

/* ── PRICING ── */
.pricing { padding: 6rem 2rem; background: var(--bg); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-header { margin-bottom: 3rem; }
.pricing-header h2 { color: var(--fg); }
.pricing-subhead { margin-top: 0.75rem; font-size: 0.95rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(108,99,255,0.05) 100%);
}
.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}
.pricing-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 1rem;
}
.pricing-amount { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.75rem; }
.pricing-amount-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.04em;
}
.pricing-amount-period { font-size: 0.9rem; color: var(--fg-muted); }
.pricing-card h3 { color: var(--fg); margin-bottom: 0.5rem; }
.pricing-card-desc { font-size: 0.875rem; margin-bottom: 1.5rem; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.pricing-features svg { flex-shrink: 0; color: var(--accent); margin-top: 0.15rem; }
.pricing-math {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.pricing-math p { font-size: 0.9rem; }
.pricing-math strong { color: var(--fg); font-weight: 700; }

/* ── FAQ ── */
.faq { padding: 6rem 2rem; background: var(--bg-2); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-header { margin-bottom: 3rem; }
.faq-header h2 { color: var(--fg); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  gap: 1rem;
  font-family: var(--font);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--fg);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron { flex-shrink: 0; transition: transform 0.25s; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
}
.faq-question[aria-expanded="true"] + .faq-answer { display: block; }
.faq-answer p { font-size: 0.9rem; max-width: 66ch; }

/* ── DEMO FAQ: REIT objections (demo-faq-reits.ejs) ── */
#demo-faq-reits .faq-answer p { color: var(--fg-muted); }
.faq-reits-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.faq-reits-cta p { margin-top: 0.75rem; font-size: 0.8rem; color: var(--fg-muted); }

/* ── CLOSING / CTA ── */
.closing { padding: 7rem 2rem; background: var(--bg); border-top: 1px solid var(--border); }
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.closing-content h2 { color: var(--fg); margin-bottom: 1.25rem; }
.closing-content p { margin-bottom: 1.5rem; font-size: 1rem; }
.closing-cta { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.closing-hint { font-size: 0.78rem; color: var(--fg-subtle); }
.closing-embed { min-height: 480px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-sm {
  font-weight: 800;
  font-size: 1rem;
  color: var(--fg);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 0.3rem;
}
.footer-brand p { font-size: 0.8rem; color: var(--fg-subtle); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a, .footer-links button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  color: var(--fg-subtle);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-links button:hover { color: var(--fg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; }
  .closing-embed { min-height: 360px; }
  .results-strip { flex-wrap: wrap; gap: 1.5rem; }
  .result-divider { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 5rem 1.25rem 4rem; }
  .problem, .how, .pricing, .faq, .closing { padding: 4rem 1.25rem; }
  .results { padding: 2rem 1.25rem; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-number { font-size: 1.5rem; }
  nav { gap: 1rem; }
  nav a:not(.nav-cta) { display: none; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* ── LEAD FORM ── */
.hero-form-wrap {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.lead-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 2rem;
}

.lead-form { display: flex; flex-direction: column; gap: 1.25rem; }

/* Honeypot: visually hidden but not display:none (bots sometimes skip those) */
.lead-form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.lead-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lead-form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

.lead-form-field input,
.lead-form-field select,
.lead-form-field textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--fg);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}

.lead-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a9a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.lead-form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.lead-form-field input:focus,
.lead-form-field select:focus,
.lead-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.lead-form-field input::placeholder,
.lead-form-field textarea::placeholder { color: var(--fg-subtle); }
.lead-form-field select option { background: var(--bg-3); color: var(--fg); }

.lead-form-hint {
  font-size: 0.7rem;
  color: var(--fg-subtle);
}

.lead-form-error {
  font-size: 0.8rem;
  color: #ff6060;
  min-height: 1.2em;
}

.lead-form-submit {
  border: none;
  cursor: pointer;
  min-height: 50px;
  font-size: 0.975rem;
  position: relative;
}

.lead-form-submit-loading { display: none; }
.lead-form-submit.is-loading .lead-form-submit-text { display: none; }
.lead-form-submit.is-loading .lead-form-submit-loading { display: inline; }
.lead-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.lead-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  gap: 1rem;
}

.lead-form-success.is-visible { display: flex; }

.lead-form-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #28c840;
}

.lead-form-success-msg {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg) !important;
}

/* ── LEAD FORM RESUME BANNER ── */
.lead-form-resume {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.875rem;
}
.lead-form-resume-text {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
}
.lead-form-resume-btn {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.lead-form-resume-btn:hover { background: var(--accent-hover); box-shadow: 0 0 0 3px var(--accent-glow); }
.lead-form-resume-btn.is-muted {
  background: transparent;
  color: var(--fg-muted);
  padding: 0.5rem 0.75rem;
}
.lead-form-resume-btn.is-muted:hover { background: var(--bg-3); color: var(--fg); box-shadow: none; }

/* ── BOOKING FALLBACK MODAL ── */
/* Inline modal that opens when no scheduler (Calendly/Cal.com) is configured.
   Reuses .lead-form / .lead-form-field for the form region; only adds modal chrome. */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-modal[hidden] { display: none; }
.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.booking-modal-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem 1.75rem 1.75rem;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.booking-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  color: var(--fg-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: inherit;
}
.booking-modal-close:hover { color: var(--fg); background: var(--bg-3); }
.booking-modal-heading {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  color: var(--fg);
}
.booking-modal-subhead {
  font-size: 0.925rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.booking-modal-form { gap: 1rem; }
.booking-modal-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  min-height: 1em;
}
.booking-modal-submit {
  position: relative;
}
.booking-modal-submit-text { display: inline; }
.booking-modal-submit-loading { display: none; }
.booking-modal-submit.is-loading .booking-modal-submit-text { display: none; }
.booking-modal-submit.is-loading .booking-modal-submit-loading { display: inline; }
.booking-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.25rem 0 0.5rem;
}
.booking-modal-success.is-visible { display: flex; }
.booking-modal-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #28c840;
}
.booking-modal-success-msg {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

/* ── CTA FORM SECTION (bottom of page) ── */
.cta-form-section {
  padding: 7rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.cta-form-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-form-header { margin-bottom: 2.5rem; }
.cta-form-header h2 { color: var(--fg); margin-bottom: 1rem; }
.cta-form-header p { font-size: 0.95rem; max-width: 56ch; }

/* ── HERO CTA ROW (Book Call + Pilot Sprint side-by-side) ── */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* ── PILOT CTA BLOCK (bottom section fast-path) ── */
.pilot-cta-block {
  margin-bottom: 2rem;
  text-align: center;
}
.pilot-cta-hint {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── CHECKOUT SUCCESS PAGE ── */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}
.success-card {
  max-width: 560px;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-card h1 { color: var(--fg); margin-bottom: 0.75rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.success-lede { font-size: 1.1rem; color: var(--fg-muted); margin-bottom: 1rem; }
.success-detail { font-size: 0.9rem; color: var(--fg-subtle); max-width: 44ch; margin: 0 auto; }

/* ── 14-DAY ONBOARDING TIMELINE ── */
.timeline-section {
  padding: 7rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.timeline-inner {
  max-width: 900px;
  margin: 0 auto;
}
.timeline-inner > h2 { color: var(--fg); margin-bottom: 1rem; }
.timeline-intro {
  font-size: 0.975rem;
  margin-bottom: 3.5rem;
  max-width: 52ch;
}

.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 2rem;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.25rem;
}

.timeline-days {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-dot-last {
  background: #28c840;
  box-shadow: 0 0 0 2px #28c840;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  min-height: 2rem;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.timeline-card-final {
  border-color: rgba(40, 200, 64, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(40, 200, 64, 0.04) 100%);
}

.timeline-card h3 { color: var(--fg); margin-bottom: 0.75rem; }
.timeline-card p  { font-size: 0.9rem; }

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: var(--bg-3);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.tag-green {
  background: rgba(40, 200, 64, 0.1);
  color: #28c840;
  border-color: rgba(40, 200, 64, 0.25);
}

/* ── SCENARIOS / CASE STUDIES ── */
.scenarios-section {
  padding: 7rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.scenarios-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.scenarios-inner > h2 { color: var(--fg); margin-bottom: 1rem; }
.scenarios-intro {
  font-size: 0.975rem;
  margin-bottom: 3rem;
  max-width: 52ch;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s;
}
.scenario-card:hover { border-color: var(--border-accent); }

.scenario-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.scenario-header h3 { color: var(--fg); line-height: 1.3; }

.scenario-target {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.scenario-target-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.scenario-target-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.scenario-context { font-size: 0.875rem; }

.scenario-diff {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.scenario-diff-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.scenario-diff ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.scenario-diff ul li {
  font-size: 0.865rem;
  color: var(--fg-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.scenario-diff ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 0.15rem;
}

.scenarios-footer {
  font-size: 0.875rem;
  text-align: center;
  color: var(--fg-muted);
}
.scenarios-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .hero-form-wrap { padding: 0 1.25rem; margin-top: 2rem; }
  .lead-form-row { grid-template-columns: 1fr; gap: 1rem; }
  .lead-form-wrap { padding: 1.5rem 1.25rem; }
  .cta-form-section { padding: 4rem 1.25rem; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn-primary, .hero-cta-row .btn-secondary { text-align: center; }
  .timeline-section { padding: 4rem 1.25rem; }
  .timeline-block { grid-template-columns: 90px 1fr; gap: 0 1rem; }
  .timeline-card { padding: 1.25rem; margin-bottom: 1.5rem; }
  .scenarios-section { padding: 4rem 1.25rem; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .social-proof { padding: 4rem 1.25rem; }
  .social-proof-grid { grid-template-columns: 1fr; }
}

/* ── DEMO PAGE ── */
.demo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.demo-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-nav-cta {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

.demo-hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--bg);
}
.demo-hero-inner {
  max-width: 640px;
  text-align: center;
}
.demo-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  background: var(--accent-glow);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border-accent);
}
.demo-value-prop {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.demo-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.demo-cta-btn {
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
  display: inline-block;
}
.demo-cta-hint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--fg-subtle);
}

.demo-trust-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
}
.demo-trust-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.demo-trust-stat {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding: 0 2rem;
}
.demo-trust-stat strong {
  color: var(--fg);
  font-weight: 700;
}
.demo-trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .demo-hero { padding: 3rem 1.25rem; }
  .demo-trust-inner { gap: 0.5rem; }
  .demo-trust-stat { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .demo-trust-divider { display: none; }
}

/* ── SOCIAL PROOF / TESTIMONIALS ── */
.social-proof {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.social-proof-inner { max-width: 1100px; margin: 0 auto; }
.social-proof-inner > h2 { color: var(--fg); margin: 1rem 0 2.5rem; }

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.social-proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}
.social-proof-card:hover { border-color: var(--border-accent); }

.social-proof-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.social-proof-quote {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.5;
  font-style: italic;
}

.social-proof-metric {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}
.social-proof-metric-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.social-proof-metric-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.social-proof-attribution {
  font-size: 0.75rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}

.social-proof-disclaimer {
  font-size: 0.7rem;
  color: var(--fg-subtle);
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
}

/* ── CASE STUDY PAGE ── */
.case-study { background: var(--bg); }

/* Header */
.cs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.cs-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cs-header-contact {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-header-contact:hover { color: var(--fg); }

/* Hero */
.cs-hero {
  padding: 6rem 2rem 5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.cs-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.cs-hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  background: var(--accent-glow);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border-accent);
}
.cs-hero-h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--fg);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.cs-hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 60ch;
  line-height: 1.75;
}

/* Trust strip */
.cs-trust-strip {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 2rem;
}
.cs-trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.cs-trust-stat {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding: 0 2rem;
}
.cs-trust-stat strong {
  color: var(--fg);
  font-weight: 700;
}
.cs-trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

/* Content sections */
.cs-section {
  padding: 6rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.cs-section-alt { background: var(--bg-2); }

.cs-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cs-section-h2 {
  color: var(--fg);
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.cs-section-intro {
  font-size: 1rem;
  max-width: 60ch;
  margin-bottom: 3rem;
}
.cs-section-body {
  font-size: 0.95rem;
  max-width: 65ch;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

/* Thesis grid */
.cs-thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cs-thesis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}
.cs-thesis-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.cs-thesis-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.cs-thesis-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Methodology */
.cs-methodology {
  display: flex;
  flex-direction: column;
}
.cs-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cs-step:last-child { border-bottom: none; }
.cs-step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 0.2rem;
}
.cs-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cs-step-desc {
  font-size: 0.925rem;
  color: var(--fg-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* Opportunity grid */
.cs-opportunities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cs-opp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s;
}
.cs-opp-card:hover { border-color: var(--border-accent); border-left-color: var(--accent); }
.cs-opp-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.cs-opp-headline {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.cs-opp-desc {
  font-size: 0.825rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Lead form section */
.cs-lead-form-section {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.cs-lead-form-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cs-lead-form-header { margin-bottom: 2.5rem; }
.cs-lead-form-header h2 { color: var(--fg); margin-bottom: 0.875rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cs-lead-form-header p { font-size: 0.925rem; max-width: 52ch; }

/* Responsive */
@media (max-width: 900px) {
  .cs-thesis-grid { grid-template-columns: 1fr; }
  .cs-opportunities { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cs-hero { padding: 4rem 1.25rem 3.5rem; }
  .cs-section { padding: 4rem 1.25rem; }
  .cs-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .cs-step-number { font-size: 1.5rem; }
  .cs-trust-inner { gap: 0.5rem; }
  .cs-trust-stat { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .cs-trust-divider { display: none; }
  .cs-lead-form-section { padding: 4rem 1.25rem; }
}

/* ── ADMIN DASHBOARD (/admin/leads) ── */
.admin-page {
  min-height: 100vh;
  background: var(--bg);
  padding: 2.5rem 2rem 4rem;
}

.admin-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-title h1 {
  color: var(--fg);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0;
  letter-spacing: -0.03em;
}

.admin-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-subtle);
  letter-spacing: 0;
}

.admin-filter {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.admin-filter select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 2.5rem 0.55rem 0.85rem;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--fg);
  cursor: pointer;
  min-height: 38px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a9a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.admin-filter select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.admin-filter-apply { padding: 0.55rem 1rem; font-size: 0.85rem; }

.admin-main { max-width: 1280px; margin: 0 auto; }

.admin-empty {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}
.admin-empty p { font-size: 1rem; color: var(--fg); margin: 0 0 0.4rem; }
.admin-empty-hint { font-size: 0.85rem !important; color: var(--fg-subtle) !important; }

.admin-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table thead th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  background: var(--bg-3);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  vertical-align: top;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(108, 99, 255, 0.04); }

.admin-cell-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.admin-link {
  color: var(--accent);
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.8rem;
}
.admin-link:hover { color: var(--accent-hover); text-decoration: underline; }

.admin-source {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  background: var(--bg-3);
  color: var(--fg-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.admin-source-calendly {
  background: rgba(108, 99, 255, 0.12);
  color: var(--accent);
  border-color: var(--border-accent);
}
.admin-source-fallback {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
  border-color: rgba(13, 148, 136, 0.3);
}
.admin-source-form {
  background: var(--bg-3);
  color: var(--fg-muted);
}

@media (max-width: 900px) {
  .admin-page { padding: 1.5rem 1rem 2.5rem; }
  .admin-table thead th,
  .admin-table tbody td { padding: 0.65rem 0.6rem; }
  .admin-cell-mono { white-space: normal; }
}
@media (max-width: 640px) {
  .admin-header-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .admin-table thead th, .admin-table tbody td { font-size: 0.78rem; padding: 0.55rem 0.45rem; }
}

.admin-stats {
  max-width: 1280px;
  margin: 0 auto 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.admin-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 110px;
}

.admin-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.admin-stat-variant {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #6b7280);
  font-variant-numeric: tabular-nums;
}

.admin-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.admin-stat-campaign-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: var(--fg);
}

.admin-stat-campaign-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Admin CSV export button — reuses .btn-secondary colors/typography; only
   declares the header-positioning piece so it sits to the right of the
   source filter and stacks full-width on narrow screens. Aligned with the
   existing 640px admin header collapse so there isn't a weird intermediate
   state where the header is still row-mode but the button is full-width. */
.admin-export-btn { display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .admin-export-btn { align-self: stretch; justify-content: center; width: 100%; }
}

/* Admin header sub-nav (Leads / Conversions links). Sits next to the title
   on wide screens; stacks above the filter/export row on the existing 640px
   breakpoint. Same muted-text treatment as the rest of the admin chrome. */
.admin-nav { display: inline-flex; gap: 1rem; margin-right: 1rem; align-items: center; }
.admin-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.admin-nav a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Admin conversions funnel — 3 stat cards in a horizontal grid with
   conversion-rate arrows between them. The `.admin-stat` card style is
   reused as-is from the /admin/leads stats strip. Same 1280px max-width so
   the funnel aligns with the rest of the admin chrome. */
.admin-funnel {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto 2rem;
}

.admin-funnel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 0.25rem;
}

@media (max-width: 640px) {
  .admin-funnel { grid-template-columns: 1fr; }
  .admin-funnel-arrow { transform: rotate(90deg); padding: 0.25rem 0; }
}

.admin-hero-test {
  max-width: 1280px;
  margin: 0 auto 2rem;
}

.admin-hero-test-headline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-muted);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.admin-hero-test-headline--winner {
  color: var(--accent);
}

/* Admin variant preview panel — sits between the admin header and the stats
   strip on /admin/leads. Renders both A and B cards side-by-side so the
   cohort filter dropdown has visual context for what each variant says on
   the live site. Highlights the card that matches the active `?variant=`
   filter; same muted border as `.admin-stat`, accent border on the active
   card. Max-width matches the rest of the admin chrome (1280px). */
.admin-variant-preview {
  max-width: 1280px;
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.admin-variant-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s, transform 0.2s;
}

.admin-variant-card[data-active="a"],
.admin-variant-card[data-active="b"] {
  border-color: var(--accent);
  transform: scale(1.01);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.admin-variant-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.admin-variant-card-flag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  align-self: flex-start;
}

.admin-variant-card-headline {
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.admin-variant-card-headline em { font-style: normal; color: var(--accent); }

.admin-variant-card-subhead {
  color: var(--fg-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.admin-variant-card-cta {
  margin-top: 0.35rem;
  display: inline-block;
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .admin-variant-preview { grid-template-columns: 1fr; }
}

/* ── ADMIN HERO TEST ACTIONS (promote / restart on /admin/conversions) ── */
/* Headline sits on the left, the two promote buttons sit on the right of
   the same row on wide screens; they wrap underneath the headline on
   narrow screens. The promote button reuses the existing .btn-primary
   colors so the dashboard's primary action stays visually consistent
   with the rest of the admin chrome — only the layout needs adjustment. */
.admin-hero-test-headline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.admin-hero-test-headline-row .admin-hero-test-headline { margin: 0; }

.admin-hero-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-hero-test-promote-form { display: inline-block; margin: 0; }

.btn-promote {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-promote:hover { background: var(--accent-hover); box-shadow: 0 0 0 3px var(--accent-glow); }
.btn-promote--loser {
  background: transparent;
  color: var(--fg-subtle);
  border: 1px solid var(--border);
}
.btn-promote--loser:hover { color: var(--fg); background: var(--bg-3); box-shadow: none; }

/* Paused state — amber banner that names the winner, when it was promoted,
   and offers a single "Restart test" button. Reuses the .btn-secondary
   shape but visually nests inside the banner so the role is unambiguous. */
.admin-hero-test-promoted {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.admin-hero-test-promoted-text {
  flex: 1 1 auto;
  min-width: 0;
  color: #f59e0b;
  font-size: 0.875rem;
  font-weight: 600;
}

.admin-hero-test-restart-form { margin: 0; }

.admin-hero-test-headline--paused {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .admin-hero-test-headline-row { flex-direction: column; align-items: flex-start; }
  .admin-hero-test-promoted { flex-direction: column; align-items: flex-start; }
}
