/* ============================================
   OCRBankStatementsToExcel.com
   ============================================ */

:root {
  --navy: #0d0a1a;
  --navy-light: #1a1530;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --green: #059669;
  --green-light: #ecfdf5;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--gray-800); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--dark { background: var(--navy); color: var(--gray-100); }
.section--alt { background: var(--gray-50); }
.section--blue-light { background: var(--blue-light); }
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--gray-900); letter-spacing: -0.02em; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
h1 { font-size: 3.25rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; }
p + p { margin-top: 1rem; }
.subtitle { font-size: 1.25rem; color: var(--gray-500); line-height: 1.6; max-width: 640px; }
.section--dark .subtitle { color: var(--gray-400); }
.section-header { margin-bottom: 3.5rem; }
.section-header .subtitle { margin-top: 0.75rem; }
.badge { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue); background: var(--blue-light); padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---- NAV ---- */
.nav { padding: 1rem 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); position: sticky; top: 0; z-index: 100; }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--gray-300); font-size: 0.9375rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn--small { color: var(--white); }
.signup-form--nav { display: flex; gap: 0.5rem; align-items: stretch; }
.signup-form--nav input[type="email"] { padding: 0.5rem 0.75rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: var(--white); font-size: 0.875rem; width: 160px; box-sizing: border-box; line-height: 1.4; }
.signup-form--nav input[type="email"]::placeholder { color: var(--gray-400); }
.signup-form--nav input[type="email"]:focus { outline: none; border-color: var(--blue); background: rgba(255,255,255,0.12); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---- HERO ---- */
.hero { padding: 6rem 0 5rem; background: var(--navy); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero .subtitle { color: var(--gray-400); margin-bottom: 2rem; max-width: 600px; font-size: 1.1875rem; }
.hero-bullets { list-style: none; margin-bottom: 2.5rem; }
.hero-bullets li { color: var(--gray-300); font-size: 1.0625rem; padding: 0.25rem 0; padding-left: 1.75rem; position: relative; }
.hero-bullets li::before { content: ''; position: absolute; left: 0; top: 0.65rem; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero-image img { width: 100%; height: auto; }

/* ---- SIGNUP FORM ---- */
.signup-form { display: flex; gap: 0.75rem; max-width: 480px; }
.signup-form input[type="email"] {
  flex: 1; padding: 0.875rem 1rem; font-size: 1rem; font-family: var(--font);
  border: 1px solid var(--gray-600); border-radius: var(--radius); background: var(--navy-light);
  color: var(--white); outline: none; transition: border-color 0.15s;
}
.signup-form input[type="email"]::placeholder { color: var(--gray-500); }
.signup-form input[type="email"]:focus { border-color: var(--blue); }
.signup-form .btn { white-space: nowrap; }
.signup-trust { margin-top: 0.875rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.signup-trust span { font-size: 0.875rem; color: var(--gray-400); display: flex; align-items: center; gap: 0.375rem; }
.signup-trust .check { color: var(--green); font-size: 1rem; }

/* Light variant for signup on white backgrounds */
.signup-form--light input[type="email"] {
  background: var(--white); color: var(--gray-800); border-color: var(--gray-200);
}
.signup-form--light input[type="email"]::placeholder { color: var(--gray-400); }
.signup-form--light input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(139,92,246,0.1); }
.signup-trust--dark span { color: var(--gray-500); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; font-size: 1rem; font-weight: 600; font-family: var(--font);
  border: none; border-radius: var(--radius); cursor: pointer; transition: all 0.15s;
  text-decoration: none;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--gray-800); border: 1px solid var(--gray-200); }
.btn--secondary:hover { border-color: var(--gray-300); background: var(--gray-50); color: var(--gray-800); }
.btn--ghost { background: transparent; color: var(--blue); padding: 0.875rem 0; }
.btn--ghost:hover { color: var(--blue-hover); }
.btn--small { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn--full { width: 100%; }

/* ---- LOGO BAR ---- */
.logo-bar { padding: 3rem 0; border-bottom: 1px solid var(--gray-200); }
.logo-bar p { text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; }
.logo-bar .logos { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; opacity: 0.5; }
.logo-bar .logos span { font-size: 1.125rem; font-weight: 600; color: var(--gray-500); }

/* ---- UPLOAD CTA ---- */
.upload-cta { padding: 4rem 0; background: var(--gray-50); text-align: center; }
.upload-cta h2 { margin-bottom: 0.75rem; }
.upload-cta p { color: var(--gray-500); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.upload-cta .signup-form { margin: 0 auto; justify-content: center; }
.upload-cta .signup-trust { justify-content: center; }
#data-extractor-container { text-align: left; width: 100%; min-height: 400px; }

/* ---- FEATURE CARDS ---- */
.feature-card { padding: 2rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); transition: border-color 0.15s, box-shadow 0.15s; }
.feature-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-md); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.65; }

/* ---- CASE STUDY ---- */
.case-study { padding: 5rem 0; background: var(--blue-light); }
.case-study-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.case-study blockquote { font-size: 1.75rem; font-weight: 600; color: var(--gray-900); line-height: 1.35; margin: 2rem 0; letter-spacing: -0.01em; position: relative; }
.case-study blockquote::before { content: '\201C'; font-size: 4rem; color: var(--blue); opacity: 0.3; position: absolute; top: -1.5rem; left: -0.5rem; }
.case-study .attribution { font-size: 0.9375rem; color: var(--gray-500); margin-bottom: 2rem; }
.case-study .signup-form { margin: 0 auto; justify-content: center; }
.case-study .signup-trust { justify-content: center; }

/* ---- TESTIMONIALS ---- */
.testimonial-card { padding: 2rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); display: flex; flex-direction: column; }
.testimonial-card blockquote { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.875rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: 0.9375rem; color: var(--gray-800); }
.testimonial-title { font-size: 0.8125rem; color: var(--gray-500); }

/* ---- EDUCATIONAL / LONG-FORM ---- */
.editorial { max-width: 800px; margin: 0 auto; }
.editorial h2 { margin-bottom: 1.5rem; }
.editorial p { color: var(--gray-600); margin-bottom: 1.25rem; }
.editorial p:last-child { margin-bottom: 0; }
.last-updated { font-size: 0.875rem; color: var(--gray-500, #6b7280); margin-bottom: 1.5rem; }

/* ---- SECURITY ---- */
.security-item { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); }
.security-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.security-item h4 { margin-bottom: 0.25rem; }
.security-item p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.55; }

/* ---- FAQ ---- */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-section h2 { margin-bottom: 2rem; }
.faq-section details { border-bottom: 1px solid var(--gray-200); }
.faq-section details:first-of-type { border-top: 1px solid var(--gray-200); }
.faq-section summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem;
  color: var(--gray-800); transition: color 0.15s;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary:hover { color: var(--blue); }
.faq-section .faq-icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform 0.2s; }
.faq-section .faq-icon::before,
.faq-section .faq-icon::after {
  content: ''; position: absolute; background: var(--gray-400); border-radius: 2px; transition: transform 0.2s;
}
.faq-section .faq-icon::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.faq-section .faq-icon::after { width: 2px; height: 14px; top: 5px; left: 11px; }
.faq-section details[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-section .faq-answer { padding-bottom: 1.5rem; }
.faq-section .faq-answer p { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; }

/* ---- PRICING ---- */
.pricing-card { padding: 2.5rem 2rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); display: flex; flex-direction: column; }
.pricing-card--featured { border-color: var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.pricing-card--featured .badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); }
.pricing-name { font-size: 1.125rem; font-weight: 600; color: var(--gray-800); margin-bottom: 0.5rem; }
.pricing-price { font-size: 3rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.03em; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-desc { font-size: 0.9375rem; color: var(--gray-500); margin-top: 0.25rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200); }
.pricing-features { list-style: none; flex: 1; margin-bottom: 2rem; }
.pricing-features li { padding: 0.375rem 0; padding-left: 1.75rem; position: relative; font-size: 0.9375rem; color: var(--gray-600); }
.pricing-features li::before { content: ''; position: absolute; left: 0; top: 0.625rem; width: 16px; height: 16px; background: var(--green-light); border-radius: 50%; }
.pricing-features li::after { content: ''; position: absolute; left: 4px; top: 0.8rem; width: 8px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.pricing-card .signup-form { max-width: 100%; }
.pricing-card .signup-form input[type="email"] { background: var(--gray-50); border-color: var(--gray-200); color: var(--gray-800); }
.pricing-card .signup-form input[type="email"]::placeholder { color: var(--gray-400); }
.pricing-card .signup-form input[type="email"]:focus { border-color: var(--blue); background: var(--white); }

/* ---- FOOTER CTA ---- */
.footer-cta { padding: 5rem 0; background: var(--navy); text-align: center; }
.footer-cta h2 { color: var(--white); margin-bottom: 0.75rem; }
.footer-cta p { color: var(--gray-400); margin-bottom: 2rem; }
.footer-cta .signup-form { margin: 0 auto; justify-content: center; }
.footer-cta .signup-trust { justify-content: center; }

/* ---- FOOTER ---- */
.footer { padding: 2rem 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); }
.footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer p { font-size: 0.8125rem; color: var(--gray-500); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8125rem; color: var(--gray-500); }
.footer-links a:hover { color: var(--gray-300); }

/* ---- PAGE HERO (subpages) ---- */
.page-hero { padding: 4rem 0 3rem; background: var(--navy); }
.page-hero h1 { color: var(--white); font-size: 2.75rem; margin-bottom: 1rem; max-width: 720px; }
.page-hero .subtitle { font-size: 1.125rem; }

/* ---- COMPARISON TABLE ---- */
.compare-card { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); background: var(--white); }
.compare-card--recommended { border-color: var(--blue); border-width: 2px; background: var(--blue-light); }
.compare-card h3 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.375rem; }
.compare-card .best-for { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gray-200); }
.compare-card--recommended .best-for { border-color: rgba(139,92,246,0.2); }
.compare-card p { font-size: 0.9375rem; color: var(--gray-600); margin-bottom: 1rem; }
.compare-strengths, .compare-limitations, .compare-pricing { font-size: 0.875rem; margin-bottom: 0.5rem; }
.compare-strengths strong, .compare-limitations strong, .compare-pricing strong { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* ---- ANSWER BOX ---- */
.answer-box { background: var(--gray-50); border-left: 3px solid var(--blue); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; }
.answer-box p { color: var(--gray-700); font-size: 1.0625rem; line-height: 1.7; margin: 0; }

/* ---- COMPARE TABLE ---- */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare-table th { text-align: left; padding: 0.875rem 1rem; background: var(--gray-100); color: var(--gray-700); font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 2px solid var(--gray-200); white-space: nowrap; }
.compare-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); vertical-align: top; }
.compare-table tbody tr:hover { background: var(--gray-50); }
.compare-table td:first-child { white-space: nowrap; }
.compare-table a { color: var(--blue); font-weight: 600; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.875rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.625rem; }
  .page-hero h1 { font-size: 2rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .signup-form .btn { width: 100%; }
  .signup-trust { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .upload-cta .signup-trust { align-items: center; }
  .case-study blockquote { font-size: 1.375rem; }
  .nav-links { display: none; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1rem 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }
  .logo-bar .logos { gap: 2rem; }
  .footer .container { flex-direction: column; text-align: center; }
  .footer-cta .signup-form { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  .container { padding: 0 1rem; }
  .pricing-card { padding: 2rem 1.5rem; }
}

/* Calendly popup */
.calendly-overlay .calendly-popup {
  max-width: 1080px !important;
  width: 1080px !important;
  min-width: 900px !important;
}
.calendly-overlay .calendly-popup-content {
  width: 100% !important;
  max-width: 100% !important;
}
.calendly-overlay .calendly-popup-content iframe {
  width: 100% !important;
  min-width: 100% !important;
}


/* ============================================
   Conversion-first EMD additions
   ============================================ */
:root {
  --navy: #120a1f;
  --navy-light: #211138;
  --blue: #7c3aed;
  --blue-hover: #6d28d9;
  --blue-light: #f5f3ff;
}
.hero--conversion { position: relative; overflow: hidden; padding: 5rem 0 4.5rem; background: radial-gradient(circle at 82% 18%, rgba(124,58,237,0.22), transparent 32%), linear-gradient(135deg, var(--navy) 0%, #020617 100%); }
.hero--conversion::after { content: ''; position: absolute; inset: auto -10% -35% 45%; height: 360px; background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 65%); pointer-events: none; }
.hero--conversion .container { position: relative; z-index: 1; }
.value-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0 0 1.5rem; max-width: 680px; }
.value-stack div { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 0.85rem; }
.value-stack strong { color: var(--white); display: block; font-size: 0.92rem; }
.value-stack span { color: var(--gray-400); display: block; font-size: 0.78rem; line-height: 1.45; margin-top: 0.25rem; }
.microcopy { color: var(--gray-400); font-size: 0.875rem; margin-top: 0.75rem; }
.hero-card { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.conversion-panel { width: 100%; background: rgba(255,255,255,0.97); border: 1px solid rgba(255,255,255,0.24); box-shadow: 0 30px 80px rgba(0,0,0,0.35); border-radius: 22px; padding: 1.25rem; }
.panel-header { display: flex; align-items: center; gap: 0.45rem; color: var(--gray-500); font-size: 0.84rem; margin-bottom: 1rem; }
.panel-header strong { margin-left: auto; color: var(--gray-800); }
.panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); display: inline-block; }
.panel-dot:first-child { background: #ef4444; }
.panel-dot:nth-child(2) { background: #f59e0b; }
.panel-dot:nth-child(3) { background: #22c55e; }
.statement-card { display: flex; align-items: center; gap: 0.75rem; background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--radius-lg); padding: 1rem; }
.statement-card span { color: var(--gray-500); display: block; font-size: 0.84rem; }
.statement-icon { width: 52px; height: 64px; border-radius: 10px; background: linear-gradient(160deg, var(--blue), var(--blue-hover)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: 0.04em; box-shadow: var(--shadow-md); }
.arrow-down { text-align: center; color: var(--blue); font-size: 1.5rem; font-weight: 700; margin: 0.7rem 0; }
.sheet-preview { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; background: white; }
.sheet-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sheet-row span { padding: 0.7rem 0.65rem; border-right: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); font-size: 0.78rem; color: var(--gray-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-row span:last-child { border-right: none; }
.sheet-row:last-child span { border-bottom: none; }
.sheet-header span { background: var(--blue-light); color: var(--gray-900); font-weight: 700; }
.panel-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-top: 1rem; }
.panel-proof div { background: var(--blue-light); border-radius: var(--radius); padding: 0.7rem; text-align: center; }
.panel-proof strong { color: var(--gray-900); display: block; font-size: 1rem; }
.panel-proof span { color: var(--gray-600); font-size: 0.72rem; }
.proof-strip { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.proof-grid div { border-right: 1px solid var(--gray-200); padding-right: 1rem; }
.proof-grid div:last-child { border-right: none; }
.proof-grid strong { display: block; color: var(--gray-900); font-size: 1rem; }
.proof-grid span { color: var(--gray-500); font-size: 0.82rem; line-height: 1.45; }
.answer-section { padding: 3rem 0; }
.step-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; background: var(--white); box-shadow: var(--shadow-sm); }
.step-number { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 1rem; }
.compact-editorial { max-width: none; }
.objection-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow-lg); }
.kill-list, .number-list { margin: 1rem 0 1.5rem; padding-left: 1.25rem; }
.kill-list li, .number-list li { margin-bottom: 0.7rem; color: var(--gray-600); }
.use-case-card { max-width: 920px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); }
.use-case-card ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; }
.use-case-card li { background: var(--gray-50); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1rem; color: var(--gray-700); font-weight: 600; }
.roi-section { background: linear-gradient(135deg, var(--blue-light), var(--white)); }
.roi-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: 24px; padding: 2.5rem; box-shadow: var(--shadow-lg); }
.roi-controls { display: grid; gap: 1rem; }
.roi-controls label { display: grid; gap: 0.35rem; font-weight: 700; color: var(--gray-800); }
.roi-controls input[type="number"] { width: 100%; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0.85rem 1rem; font: inherit; }
.roi-output { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 1.25rem; }
.roi-output strong { display: block; font-size: 1.45rem; }
.roi-output span { color: var(--gray-300); }
.signup-form--light input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(124,58,237,0.14); }
.compare-card--recommended .best-for { border-color: rgba(124,58,237,0.25); }
.compare-card form.signup-form { margin-top: 1rem; }
.cta-section .signup-form { margin: 0 auto; justify-content: center; }
.cta-section .signup-trust { justify-content: center; }
@media (max-width: 900px) {
  .value-stack, .proof-grid, .panel-proof, .use-case-card ul, .roi-card { grid-template-columns: 1fr; }
  .proof-grid div { border-right: none; border-bottom: 1px solid var(--gray-200); padding-bottom: 0.75rem; }
  .proof-grid div:last-child { border-bottom: none; }
  .sheet-row span { font-size: 0.7rem; padding: 0.6rem 0.45rem; }
}
@media (max-width: 640px) {
  .conversion-panel { padding: 0.85rem; border-radius: 16px; }
  .panel-proof { gap: 0.4rem; }
  .use-case-card, .roi-card, .objection-card { padding: 1.25rem; }
}

/* ============================================
   QA fixes: no horizontal overflow + tighter conversion layout
   ============================================ */
html, body { max-width: 100%; overflow-x: clip; }
.container, .nav .container, .grid, .hero-grid, .pricing-card, .compare-card, .objection-card, .roi-card { min-width: 0; }
.grid > *, .hero-grid > *, .proof-grid > * { min-width: 0; }
.nav .container { gap: 1rem; }
.nav-logo { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-links { gap: 1.25rem; min-width: 0; }
.signup-form--nav input[type="email"] { width: 150px; min-width: 0; }

.hero--conversion { padding: 3.25rem 0 3rem; }
.hero--conversion .hero-grid { gap: 2.25rem; align-items: center; }
.hero--conversion h1 { font-size: clamp(2.15rem, 3.35vw, 2.95rem); line-height: 1.06; margin-bottom: 0.85rem; max-width: 620px; }
.hero--conversion .subtitle { margin-bottom: 1.05rem; max-width: 600px; font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.55; }
.hero--conversion .signup-form { margin-bottom: 0; max-width: 560px; }
.hero--conversion .signup-form input[type="email"] { min-width: 0; }
.hero--conversion .signup-form .btn { padding-left: 1.25rem; padding-right: 1.25rem; }
.hero--conversion .signup-trust { margin-top: 0.7rem; gap: 1rem; }
.hero--conversion .signup-trust span { font-size: 0.82rem; }
.hero--conversion .microcopy { margin-top: 0.45rem; margin-bottom: 0; font-size: 0.82rem; }
.hero--conversion .value-stack { margin: 0.9rem 0 0; max-width: 560px; }
.hero--conversion .value-stack div { padding: 0.72rem; }
.hero--conversion .value-stack strong { font-size: 0.84rem; }
.hero--conversion .value-stack span { font-size: 0.72rem; }
.conversion-panel { max-width: 560px; padding: 1rem; border-radius: 18px; }
.panel-header { margin-bottom: 0.7rem; }
.statement-card { padding: 0.8rem; }
.statement-icon { width: 46px; height: 56px; }
.arrow-down { margin: 0.45rem 0; }
.sheet-row span { padding: 0.58rem 0.55rem; }
.panel-proof { margin-top: 0.75rem; }
.panel-proof div { padding: 0.55rem; }

.pricing-card .signup-form,
.compare-card .signup-form,
.objection-card .signup-form,
.roi-controls .signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.pricing-card .signup-form input[type="email"],
.compare-card .signup-form input[type="email"],
.objection-card .signup-form input[type="email"],
.roi-controls .signup-form input[type="email"] {
  width: 100%;
  min-width: 0;
}
.pricing-card .signup-form .btn,
.compare-card .signup-form .btn,
.objection-card .signup-form .btn,
.roi-controls .signup-form .btn {
  width: 100%;
  white-space: normal;
}
.pricing-card { padding: 2rem 1.65rem; }
.pricing-price { font-size: clamp(2.45rem, 4vw, 3rem); }

@media (max-width: 1120px) {
  .signup-form--nav { display: none; }
  .nav-links { gap: 1rem; }
}
@media (max-width: 1024px) {
  .hero--conversion { padding: 2.75rem 0; }
  .hero--conversion .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 1.5rem; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .hero--conversion .hero-grid { grid-template-columns: 1fr; }
  .hero--conversion .hero-image { order: 0; max-width: 100%; }
  .hero--conversion { padding: 2.2rem 0 2.6rem; }
  .hero--conversion h1 { font-size: clamp(2rem, 9vw, 2.45rem); }
  .hero--conversion .signup-form { flex-direction: column; }
  .hero--conversion .value-stack { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
}
