/* ===================================
   ClearTrack — Design System
   =================================== */

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0f1f38;
  --bg-card: #132040;
  --bg-card-hover: #162848;
  --accent: #00D4AA;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-glow: rgba(0, 212, 170, 0.08);
  --text-primary: #f0f4f8;
  --text-secondary: #8899aa;
  --text-muted: #4a5a6a;
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --green: #00C896;
  --green-dim: rgba(0, 200, 150, 0.12);
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(0,212,170,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.125rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-geo {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.06);
}
.geo-ring-1 { width: 600px; height: 600px; top: -100px; right: -200px; }
.geo-ring-2 { width: 420px; height: 420px; top: -50px; right: -100px; border-color: rgba(0,212,170,0.08); }
.geo-ring-3 { width: 280px; height: 280px; top: 80px; right: 0; border-color: rgba(0,212,170,0.12); }

.geo-accent {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 70%);
}
.geo-accent-1 { width: 400px; height: 400px; top: 100px; right: -100px; }
.geo-accent-2 { width: 200px; height: 200px; top: 200px; right: 80px; background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%); }

.geo-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(0,212,170,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-metric-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-metric { display: flex; flex-direction: column; gap: 4px; }

.metric-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 100px;
}

.hero-metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- Portfolio Card (Hero Visual) ---- */
.hero-visual { position: relative; z-index: 1; }

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,170,0.08) inset;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s infinite;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-stat { display: flex; flex-direction: column; gap: 4px; }

.stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-value { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); }
.stat-value.warn { color: var(--amber); }
.stat-value.clear { color: var(--green); }

.card-feed { display: flex; flex-direction: column; gap: 0; }

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.feed-item:last-child { border-bottom: none; }

.feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.feed-dot-amber { background: var(--amber); box-shadow: 0 0 6px rgba(245,166,35,0.5); }
.feed-dot-green { background: var(--green); box-shadow: 0 0 6px rgba(0,200,150,0.5); }

.feed-body { flex: 1; min-width: 0; }

.feed-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
}

.feed-meta {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.feed-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}

/* ---- Manifesto ---- */
.manifesto {
  padding: 5rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.manifesto-text:last-child { margin-bottom: 0; }
.manifesto-text--secondary { color: var(--text-muted); font-size: 1rem; }

/* ---- Features ---- */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header { margin-bottom: 3.5rem; }

.features-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.features-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card); }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ---- Outcomes ---- */
.outcomes {
  padding: 5rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.outcomes-stat { text-align: center; }

.outcomes-number {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.outcomes-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 160px;
  display: block;
}

.outcomes-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- Closing ---- */
.closing {
  padding: 8rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 7rem;
  }
  .hero-visual { order: -1; }
  .hero-metric-row { gap: 1.25rem; }
  .hero-metric-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid-3 { grid-template-columns: 1fr; }
  .outcomes-inner { flex-direction: column; text-align: center; gap: 2rem; }
  .outcomes-divider { width: 40px; height: 1px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-nav { flex-wrap: wrap; gap: 1rem; }
  .manifesto { padding: 3.5rem 1.5rem; }
  .features { padding: 3.5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-section { padding: 4rem 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-section { padding: 4rem 1.5rem; }
  .pricing-card-featured { margin-top: 0; }
  .founder-section { padding: 4rem 1.5rem; }
  .founder-card { padding: 1.75rem; }
  .nav-actions { gap: 12px; }
}

/* ---- Demo CTA in hero ---- */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #0a1628;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.2px;
}
.hero-cta-btn:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.hero-cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Tertiary assessment CTA below the hero buttons */
.hero-cta-assess-link {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-assess-link {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-assess-link:hover {
  color: var(--accent);
  border-color: var(--border-accent);
}

.hero-cta-secondary {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-cta-secondary:hover {
  color: var(--accent);
  border-color: var(--border-accent);
}

/* ---- Nav actions ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-demo-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s;
}
.nav-demo-link:hover { opacity: 0.75; }

.nav-compare-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.nav-compare-link:hover { color: var(--accent); }

/* ---- Section eyebrow ---- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---- Why Section ---- */
.why-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.why-header {
  margin-bottom: 3.5rem;
}

.why-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.why-card:hover { border-color: var(--border-accent); }

.why-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ---- Features grid 3-col ---- */
.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ---- Pricing Section ---- */
.pricing-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.pricing-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 1px var(--border-accent), 0 20px 50px rgba(0,212,170,0.08);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a1628;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.pricing-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-dollar { font-size: 1.5rem; vertical-align: top; margin-top: 6px; display: inline-block; }
.pricing-period { font-size: 1rem; color: var(--text-muted); font-family: 'DM Sans', sans-serif; font-weight: 400; }

.pricing-book {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.pricing-features-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}

.pf-check {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, opacity 0.15s;
  letter-spacing: -0.01em;
}

.pricing-cta-primary {
  background: var(--accent);
  color: #0a1628;
}
.pricing-cta-primary:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.pricing-cta-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.pricing-cta-secondary:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

/* ---- Founder Section ---- */
.founder-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.founder-inner {
  max-width: 760px;
  margin: 0 auto;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.founder-quote {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  font-style: normal;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.founder-sig {
  display: flex;
  align-items: center;
  gap: 14px;
}

.founder-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.founder-contact {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.founder-contact:hover { color: var(--accent); }

/* ---- Footer links ---- */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

/* ---- ROI Calculator ---- */
.roi-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.roi-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.roi-header {
  margin-bottom: 3rem;
}

.roi-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.roi-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
}

/* Two-column on desktop, stacked on mobile */
.roi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Inputs ── */
.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.roi-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roi-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.roi-slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.roi-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0,212,170,0.4);
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.roi-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 14px rgba(0,212,170,0.6);
}
.roi-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  cursor: pointer;
}

.roi-val-box {
  min-width: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.roi-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0 2px;
}

.roi-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  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='%238899aa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.roi-select:focus { border-color: var(--border-accent); }

/* ── Outputs ── */
.roi-outputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roi-outputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.roi-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.roi-result-card:hover { border-color: var(--border-accent); }

.roi-result-card--accent {
  border-color: var(--border-accent);
  background: rgba(0,212,170,0.04);
}

.roi-result-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.roi-result-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.roi-result-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Net value banner */
.roi-net-value {
  background: linear-gradient(135deg, rgba(0,212,170,0.1) 0%, rgba(0,212,170,0.04) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
}

.roi-net-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.roi-net-amount {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.roi-net-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA */
.roi-cta {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #0a1628;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.2px;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}
.roi-cta:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* Footnote */
.roi-footnote {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
  .roi-section { padding: 4rem 1.5rem; }
  .roi-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .roi-outputs-grid { grid-template-columns: 1fr; }
}

/* ---- Assessment Page ---- */
/* Nav overrides for assessment (simpler layout) */
.nav-logo-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px var(--accent)}
.nav-back{font-size:.8125rem;color:var(--text-secondary);text-decoration:none;transition:color .15s}
.nav-back:hover{color:var(--accent)}
/* Page shell */
.page{max-width:640px;margin:0 auto;padding:80px 24px 60px}
/* Progress */
.progress-wrap{margin-bottom:2.5rem}
.progress-label{display:flex;justify-content:space-between;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.625rem}
.progress-bar{height:4px;background:var(--border);border-radius:2px;overflow:hidden}
.progress-fill{height:100%;background:var(--accent);border-radius:2px;transition:width .4s ease}
/* Steps */
.step{display:none}.step.active{display:block}
.step-eyebrow{font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:.875rem}
.step-q{font-family:'DM Serif Display',serif;font-size:clamp(1.5rem,3.5vw,2.1rem);font-weight:400;color:var(--text-primary);line-height:1.2;margin-bottom:.875rem;letter-spacing:-.01em}
.step-sub{font-size:.9375rem;color:var(--text-secondary);font-weight:300;margin-bottom:2rem;line-height:1.6}
/* Options */
.options{display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem}
.opt{display:flex;align-items:center;gap:.875rem;padding:1rem 1.25rem;background:var(--bg-card);border:1.5px solid var(--border);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s;user-select:none}
.opt:hover{border-color:var(--border-accent);background:var(--bg-card-hover)}
.opt.selected{border-color:var(--accent);background:var(--accent-dim)}
.opt-mark{width:20px;height:20px;border-radius:50%;border:2px solid var(--text-muted);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:border-color .15s,background .15s}
.opt.selected .opt-mark{border-color:var(--accent);background:var(--accent)}
.opt-mark-inner{width:8px;height:8px;border-radius:50%;background:#0a1628;display:none}
.opt.selected .opt-mark-inner{display:block}
.opt-label{font-size:.9375rem;font-weight:500;color:var(--text-primary)}
.opt-multi .opt-mark{border-radius:5px}.opt-multi.selected .opt-mark{border-color:var(--accent);background:var(--accent)}.opt-multi .opt-mark-inner{border-radius:2px}
/* Buttons */
.btn-row{display:flex;gap:.875rem;align-items:center}
.btn-next{padding:13px 32px;background:var(--accent);color:#0a1628;font-size:1rem;font-weight:700;border:none;border-radius:10px;cursor:pointer;font-family:inherit;transition:background .2s,transform .15s}
.btn-next:hover{background:var(--green);transform:translateY(-2px)}
.btn-next:disabled{background:var(--text-muted);cursor:not-allowed;transform:none}
.btn-back{padding:13px 20px;background:transparent;color:var(--text-secondary);font-size:.9375rem;font-weight:500;border:1.5px solid var(--border);border-radius:10px;cursor:pointer;font-family:inherit;transition:color .15s,border-color .15s}
.btn-back:hover{color:var(--text-primary);border-color:var(--border-accent)}
/* Score reveal */
#score-reveal{display:none}
.score-wrap{text-align:center;padding:2.5rem 0 1.5rem}
.score-number{font-family:'DM Serif Display',serif;font-size:clamp(5rem,12vw,8rem);color:var(--accent);letter-spacing:-.04em;line-height:1}
.score-label{font-size:.875rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-top:.5rem}
.score-band{font-family:'DM Serif Display',serif;font-size:1.5rem;color:var(--text-primary);margin-top:.75rem}
.diagnosis-box{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;padding:1.5rem;margin-top:1.5rem;text-align:left}
.diagnosis-label{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.75rem}
.diagnosis-text{font-size:.9375rem;color:var(--text-secondary);line-height:1.7;font-weight:300}
/* Subscores */
.subscores{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.75rem 0}
@media(max-width:480px){.subscores{grid-template-columns:1fr}}
.subscore-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.25rem;text-align:center}
.subscore-val{font-family:'DM Serif Display',serif;font-size:2rem;color:var(--accent);letter-spacing:-.02em;line-height:1}
.subscore-name{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-top:.375rem}
/* Gate form */
.gate-section{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--border)}
.gate-headline{font-family:'DM Serif Display',serif;font-size:1.5rem;color:var(--text-primary);margin-bottom:.5rem}
.gate-sub{font-size:.9375rem;color:var(--text-secondary);font-weight:300;margin-bottom:1.5rem;line-height:1.6}
.gate-field{margin-bottom:1rem}
.gate-label{display:block;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-secondary);margin-bottom:.375rem}
.gate-input{width:100%;background:var(--bg-card);border:1.5px solid var(--border);border-radius:9px;padding:.75rem 1rem;font-size:.9375rem;font-family:inherit;color:var(--text-primary);outline:none;transition:border-color .15s}
.gate-input:focus{border-color:var(--border-accent)}.gate-input::placeholder{color:var(--text-muted)}
.gate-error{font-size:.85rem;color:#ef4444;background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.3);border-radius:7px;padding:.625rem .875rem;margin-bottom:1rem;display:none}
.gate-submit{width:100%;padding:14px;background:var(--accent);color:#0a1628;font-size:1rem;font-weight:700;border:none;border-radius:10px;cursor:pointer;font-family:inherit;transition:background .2s,transform .15s;margin-top:.25rem}
.gate-submit:hover{background:var(--green);transform:translateY(-2px)}.gate-submit:disabled{background:var(--text-muted);cursor:not-allowed;transform:none}
.gate-privacy{font-size:.75rem;color:var(--text-muted);margin-top:.875rem;line-height:1.5}
/* Report sent */
#report-sent{display:none;text-align:center;padding:2rem 0}
.sent-icon{font-size:3.5rem;margin-bottom:1rem}
.sent-headline{font-family:'DM Serif Display',serif;font-size:1.75rem;color:var(--text-primary);margin-bottom:.75rem}
.sent-sub{font-size:.9375rem;color:var(--text-secondary);font-weight:300;line-height:1.7;max-width:420px;margin:0 auto 1.75rem}
.sent-cta{display:inline-block;padding:13px 28px;background:var(--accent);color:#0a1628;font-size:.9375rem;font-weight:700;text-decoration:none;border-radius:10px;transition:background .2s}
.sent-cta:hover{background:var(--green)}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 4px; }
