/* neuravision funnel design system — mirrors styleguide.md of the main site.
   8px grid, Montserrat headlines, Inter body, orange only for primary CTAs and ROI numbers. */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/_/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/_/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/_/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/_/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('/_/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('/_/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('/_/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --primary: #0a2351;
  --primary-700: #081c41;
  --primary-50: #eef2f9;
  --secondary: #00afa0;
  --secondary-700: #00877b;
  --secondary-50: #e6f7f5;
  --secondary-200: #a6e3dc;
  --accent: #ff7a00;
  --accent-600: #e06b00;
  --accent-50: #fff4e9;
  --text: #1d2d44;
  --text-2: #5a647b;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --border: #dee2e6;
  --danger: #c0392b;
  --success: #138a5e;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 24px rgba(10, 35, 81, 0.08);
  --shadow-lg: 0 24px 48px rgba(10, 35, 81, 0.16);
  --font-head: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--secondary-700); }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.3; color: var(--primary); margin: 0 0 16px; }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
@media (min-width: 768px) { h1 { font-size: 48px; } h2 { font-size: 36px; } h3 { font-size: 24px; } }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 800px; }
.section { position: relative; padding: 64px 0; overflow: hidden; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }
.section--soft { background: var(--bg-soft); }
.section--blue { background: linear-gradient(135deg, #0a2351 0%, #0d2f6b 50%, #00877b 100%); color: #fff; }
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: rgba(255, 255, 255, 0.88); }
.section--dots::before { content: ''; position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(circle at 1px 1px, #0a2351 1px, transparent 0); background-size: 32px 32px; pointer-events: none; }
.center { text-align: center; }
.lead { font-size: 20px; color: var(--text-2); }
.section--blue .lead { color: rgba(255, 255, 255, 0.88); }
.muted { color: var(--text-2); }
.small { font-size: 15px; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; } .mb-6 { margin-bottom: 48px; }

/* header */
.nv-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nv-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.nv-logo { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--primary); text-decoration: none; letter-spacing: -0.02em; }
.nv-logo span { color: var(--secondary); }
.nv-logo small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-top: -4px; }
.nv-header nav { display: flex; align-items: center; gap: 24px; }
.nv-header nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px; }
@media (max-width: 767px) { .nv-header nav a:not(.btn) { display: none; } }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--secondary-50); border: 1px solid var(--secondary-200); color: var(--secondary-700); font-weight: 600; font-size: 14px; margin-bottom: 24px; }
.section--blue .badge { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.badge--accent { background: var(--accent-50); border-color: #ffd2a8; color: #b35500; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 2px solid transparent; font: 600 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(255, 122, 0, 0.3); }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-700); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.section--blue .btn-outline { border-color: #fff; color: #fff; }
.section--blue .btn-outline:hover { background: #fff; color: var(--primary); }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.center .btn-row { justify-content: center; }

/* cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
@media (min-width: 768px) { .card { padding: 32px; } }
.card--hl { border: 2px solid var(--secondary); box-shadow: var(--shadow-lg); }
.section--blue .card { color: var(--text); border: 0; box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); }
.section--blue .card p { color: var(--text-2); }
.section--blue .card h2, .section--blue .card h3 { color: var(--primary); }
.glass { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(16px); border-radius: var(--radius); padding: 24px; }
.icon-dot { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--secondary-50); color: var(--secondary-700); font-size: 24px; margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 8px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--secondary-50); color: var(--secondary-700); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.checklist--no li::before { content: '✕'; background: #fdecea; color: var(--danger); }
.kpi { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1.1; color: var(--accent); }
.kpi-label { font-size: 15px; color: var(--text-2); }
.section--blue .kpi-label { color: rgba(255, 255, 255, 0.8); }

/* pricing */
.price { font-family: var(--font-head); font-weight: 800; font-size: 36px; color: var(--primary); line-height: 1.1; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--text-2); }
.price-card { display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.ribbon { display: inline-block; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }

/* forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--text); }
input[type='text'], input[type='email'], input[type='tel'], input[type='number'], select, textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; font: 400 17px/1.4 var(--font-body); color: var(--text); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0, 175, 160, 0.2); }
input[type='range'] { width: 100%; accent-color: var(--secondary); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--text-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--secondary); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { padding: 16px; border-radius: 12px; font-weight: 500; }
.form-msg--ok { background: var(--secondary-50); color: var(--secondary-700); }
.form-msg--err { background: #fdecea; color: var(--danger); }

/* quiz */
.progress { height: 8px; background: var(--primary-50); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--secondary), var(--accent)); transition: width 0.3s; }
.options { display: grid; gap: 16px; }
.option { display: flex; gap: 16px; align-items: flex-start; text-align: left; width: 100%; padding: 16px 24px; background: #fff; border: 2px solid var(--border); border-radius: var(--radius); font: 500 17px/1.5 var(--font-body); color: var(--text); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.option:hover { border-color: var(--secondary); }
.option[aria-pressed='true'], .option.is-selected { border-color: var(--secondary); background: var(--secondary-50); }
.option small { display: block; color: var(--text-2); font-weight: 400; }

/* meter */
.meter { position: relative; height: 16px; border-radius: 999px; background: var(--primary-50); overflow: hidden; }
.meter > span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--secondary); }
.meter--warn > span { background: var(--accent); }
.meter--bad > span { background: var(--danger); }

/* faq */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 24px; margin-bottom: 16px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--primary); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--secondary); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding-top: 16px; color: var(--text-2); }

/* tables */
.table-wrap { overflow-x: auto; }
table.nv { width: 100%; border-collapse: collapse; font-size: 16px; }
table.nv th, table.nv td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.nv th { font-weight: 600; color: var(--primary); background: var(--bg-soft); }

/* notices */
.notice { border-left: 4px solid var(--secondary); background: var(--secondary-50); padding: 16px 24px; border-radius: 0 12px 12px 0; }
.notice--warn { border-color: var(--accent); background: var(--accent-50); }

/* footer */
.nv-footer { background: var(--primary); color: rgba(255, 255, 255, 0.8); padding: 48px 0 32px; font-size: 15px; }
.nv-footer a { color: #fff; text-decoration: none; }
.nv-footer a:hover { text-decoration: underline; }
.nv-footer .cols { display: grid; gap: 32px; }
@media (min-width: 768px) { .nv-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.nv-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.nv-footer ul { list-style: none; padding: 0; margin: 0; }
.nv-footer li { margin-bottom: 8px; }
.nv-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 32px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; }

/* sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border); display: none; }
@media (max-width: 767px) { .sticky-cta { display: block; } body.has-sticky { padding-bottom: 80px; } }

/* print: results pages become a clean report */
@media print {
  .nv-header, .nv-footer, .sticky-cta, .no-print, .btn { display: none !important; }
  .section { padding: 16px 0; }
  .section--blue { background: none; color: var(--text); }
  .section--blue h1, .section--blue h2, .section--blue p { color: var(--primary); }
  .card { box-shadow: none; break-inside: avoid; }
  body { font-size: 12pt; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
