:root {
  --ink: #10192b;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --paper-soft: #f5f7fb;
  --line: #e2e6ef;
  --brand: #1d5cff;
  --brand-dark: #143fb3;
  --brand-soft: #eaf0ff;
  --accent: #17a673;
  --radius: 12px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: var(--brand);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 10;
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  flex-shrink: 0;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.primary-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

nav.primary-nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(29, 92, 255, 0.28);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-block {
  width: 100%;
}

section {
  padding: 88px 0;
}

section.tight {
  padding: 56px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

p {
  color: var(--ink-soft);
}

.hero {
  padding-top: 96px;
  padding-bottom: 72px;
  background:
    radial-gradient(720px 360px at 85% -10%, var(--brand-soft), transparent 60%),
    var(--paper);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-mock {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-soft);
  padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(16, 25, 43, 0.35);
}

.mock-window-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.mock-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 10px;
}

.mock-card:last-child {
  margin-bottom: 0;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mock-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.mock-tag.qualified {
  background: #e6f7ef;
  color: #117a52;
}

.mock-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

.logo-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.logo-row .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-row p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-alt {
  background: var(--paper-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #1b2a4a 100%);
  color: #fff;
  border-radius: 20px;
  padding: 56px;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #c7d0e6;
  max-width: 46ch;
  margin: 0 auto 28px;
}

.cta-band .hero-actions {
  justify-content: center;
}

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink-soft);
}

/* ---- demo page ---- */

.demo-shell {
  background: var(--paper-soft);
  min-height: calc(100vh - 68px);
  padding: 48px 0 80px;
}

.demo-banner {
  background: #fff7e6;
  border: 1px solid #f4d99a;
  color: #7a5b0a;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.88rem;
  margin-bottom: 28px;
  text-align: center;
}

.demo-toggle {
  display: flex;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 32px;
}

.demo-toggle button {
  border: none;
  background: transparent;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.demo-toggle button.active {
  background: var(--brand);
  color: #fff;
}

.demo-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 24px 48px -32px rgba(16, 25, 43, 0.3);
}

.demo-panel.wide {
  max-width: 880px;
}

.progress-track {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}

.progress-track span {
  height: 4px;
  flex: 1;
  background: var(--line);
  border-radius: 2px;
}

.progress-track span.done {
  background: var(--brand);
}

.funnel-step {
  display: none;
}

.funnel-step.active {
  display: block;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.option-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  background: var(--paper);
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.option-card:hover {
  border-color: var(--brand);
}

.option-card.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.funnel-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.confirmation {
  text-align: center;
  padding: 12px 0;
}

.confirmation .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e6f7ef;
  color: #117a52;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dash-table-scroll {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dash-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--line);
}

.dash-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.dash-table tr.new-row {
  animation: highlight 2.2s ease-out;
}

@keyframes highlight {
  from {
    background: var(--brand-soft);
  }
  to {
    background: transparent;
  }
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-pill.qualified {
  background: #e6f7ef;
  color: #117a52;
}

.status-pill.new {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.status-pill.contacted {
  background: #f2ecfc;
  color: #6a3fc2;
}

.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  nav.primary-nav {
    display: none;
  }

  .cta-band {
    padding: 40px 24px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    padding: 24px;
  }
}
