:root {
  --bg: #f8f9fc;
  --panel: #ffffff;
  --text: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 20px 64px;
}

.band {
  padding: 80px 0;
}

.band-alt {
  background: #f4f6fb;
  border-radius: 28px;
  padding: 80px 28px;
}

.case-callout {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 24px;
}

.hero-visual .card,
.roi-form.card,
.chart-card.card {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 12px 0;
}

.accordion summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}

.roi,
.stripe-first {
  margin: 0;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-cta {
  color: var(--text);
  font-weight: 600;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.3);
}

.btn-ghost {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.sticky-cta {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 50;
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.25);
}

.footer-cta {
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  display: grid;
  gap: 24px;
  align-content: start;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 16px 0;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.subhead {
  color: var(--text);
  font-weight: 600;
  margin-top: 12px;
}

.jtbd {
  display: grid;
  gap: 10px;
}

.jtbd-title {
  font-weight: 600;
  color: var(--text);
}

.jtbd ul {
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.jtbd li {
  display: flex;
  gap: 8px;
}

.jtbd li::before {
  content: "•";
  color: var(--accent);
}

.stripe-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 10px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 500;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-form input {
  flex: 1 1 220px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 1rem;
  outline: none;
}

.helper-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

.social-proof {
  color: var(--text);
  font-weight: 600;
  margin-top: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.hero-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  margin-bottom: 60px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.hero-strip .stats {
  margin-top: 0;
}

.hero-strip-notes {
  display: grid;
  gap: 6px;
}

.case-study {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  margin-bottom: 70px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.case-study-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(79, 70, 229, 0.1);
  font-size: 1.4rem;
}

.case-study-content {
  display: grid;
  gap: 6px;
  color: var(--text);
}

.case-study-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.stats h3 {
  font-size: 1.4rem;
}

.stats p {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  gap: 20px;
  justify-items: end;
}

.hero-proof {
  max-width: 360px;
  width: 100%;
}

.hero-dashboard {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  padding: 14px;
  max-width: 760px;
  width: 100%;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dashboard-pill {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-kpis .kpi-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.dashboard-kpis .kpi-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.dashboard-kpis h3 {
  font-size: 1.2rem;
  margin: 0 0 4px;
  line-height: 1.2;
  word-break: break-word;
}

.dashboard-kpis .kpi-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.kpi-low {
  border-left: 3px solid #22c55e;
}

.kpi-medium {
  border-left: 3px solid #f59e0b;
}

.kpi-high {
  border-left: 3px solid #ef4444;
}

.kpi-revenue {
  border-left: 3px solid #2563eb;
}

.kpi-revenue h3 {
  font-size: 1.05rem;
}

.dashboard-table {
  margin-top: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.table-title {
  font-weight: 600;
}

.table-sub {
  color: var(--muted);
  font-size: 0.8rem;
}

.table-filter {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--text);
}

.table-grid {
  display: grid;
  gap: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.85fr 0.6fr 0.7fr;
  gap: 10px;
  font-size: 0.8rem;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
}

.table-row span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-row .pill {
  justify-self: start;
  padding: 4px 10px;
  font-size: 0.75rem;
}

.table-row:not(.table-head) {
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.table-head {
  font-weight: 600;
  color: var(--muted);
}

.risk-high {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
}

.risk-medium {
  background: rgba(245, 158, 11, 0.08);
  color: #b45309;
}

.risk-low {
  background: rgba(34, 197, 94, 0.08);
  color: #15803d;
}

.hero-story {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
}

.hero-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-risk {
  font-size: 2.4rem;
  color: #f97316;
  margin: 6px 0 2px;
}

.hero-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-saved {
  font-size: 1.6rem;
  color: #16a34a;
  margin: 6px 0 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-sparkline {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(79, 70, 229, 0.06);
}

.hero-sparkline svg {
  width: 100%;
  height: 40px;
}

.hero-annot {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-top: 6px;
  color: var(--muted);
}

.hero-annot .before {
  color: #f97316;
}

.hero-annot .after {
  color: #16a34a;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.dashboard {
  display: grid;
  gap: 20px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.kpi-card h2 {
  font-size: 2.1rem;
  margin-top: 6px;
}

.kpi-card h3 {
  font-size: 1.35rem;
  margin: 6px 0;
}

.kpi-card h3 span {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
}

.sub-metric {
  color: var(--muted);
  font-size: 0.95rem;
}

.sub-metric .churned {
  color: var(--text);
  font-weight: 600;
}

.micro {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 6px;
}

.proof {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.sparkline {
  margin-top: 10px;
  width: 100%;
  height: 36px;
}

.pill-neutral {
  background: rgba(16, 24, 40, 0.08);
  color: var(--text);
  display: inline-flex;
  margin-top: 8px;
}

.impact-list {
  margin-top: 12px;
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-bar {
  display: flex;
  height: 8px;
  background: #f1f2f6;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0;
}

.status-bar .at-risk {
  background: #818cf8;
}

.status-bar .churned {
  background: #f97316;
}

.chart-card {
  display: grid;
  gap: 10px;
}

.roi-chart {
  margin: 24px auto 32px;
  max-width: 760px;
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.pill {
  background: rgba(16, 24, 40, 0.08);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.chart-grouped {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  height: 140px;
  align-items: end;
}

.chart-grouped .group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  align-items: end;
  height: 100%;
}

.bar {
  border-radius: 10px 10px 6px 6px;
  width: 100%;
  align-self: end;
  z-index: 1;
}

.bar.new {
  background: linear-gradient(180deg, var(--accent), #a5b4fc);
}

.bar.churn {
  background: linear-gradient(180deg, #f97316, #fdba74);
}

.churn-line {
  position: absolute;
  inset: 10px 0 16px;
  width: 100%;
  height: calc(100% - 26px);
  pointer-events: none;
  z-index: 2;
}

.chart-legend {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.legend-dot.new {
  background: var(--accent);
}

.legend-dot.churn {
  background: #f97316;
}

.legend-dot.line {
  background: #fb923c;
}



.chart-labels {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.card-secondary {
  background: linear-gradient(135deg, #eef2ff, #ffffff);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.mini {
  background: white;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.mini small {
  color: var(--muted);
  font-size: 0.75rem;
}

.mini span {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 10px;
}

.logo-strip {
  text-align: center;
  margin: 0;
  color: var(--muted);
}

.roi {
  margin: 0;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.roi-form {
  display: grid;
  gap: 16px;
  align-content: start;
}

.field-block {
  display: grid;
  gap: 8px;
  padding: 12px 0;
}

.field-block label {
  font-weight: 600;
  color: var(--text);
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.roi-form input {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.email-row {
  display: grid;
  gap: 12px;
  align-items: start;
}

.email-row.hidden {
  display: none;
}

.roi-actions button {
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.22);
}

.roi-actions .btn-secondary {
  box-shadow: none;
}

.roi-results {
  display: grid;
  gap: 16px;
}


.result-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.result-card.highlight {
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  border-color: rgba(79, 70, 229, 0.2);
}

.result-card.highlight h3 {
  font-size: 2.6rem;
  color: var(--text);
}

.roi-inline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.roi-inline-stats span {
  flex: 1 1 180px;
}

.roi-inline-stats strong {
  color: var(--text);
  font-weight: 600;
}

.roi-inline-email {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.roi-inline-email .toggle {
  font-size: 0.9rem;
  color: var(--muted);
}

.roi-inline-email .email-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.roi-inline-email .email-row input {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.roi-inline-email .email-row button {
  padding: 10px 16px;
}

.roi-graph {
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  background: rgba(79, 70, 229, 0.05);
}

.roi-graph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.roi-graph-header span {
  font-weight: 600;
  color: var(--title);
}

.roi-graph svg {
  width: 100%;
  height: 140px;
}

.roi-graph-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.roi-calc {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 24px;
}

.roi-calc summary {
  list-style: none;
  margin: 0;
}

.roi-calc summary::-webkit-details-marker {
  display: none;
}

.roi-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.roi-summary h2 {
  font-size: 1.6rem;
}

.roi-summary p {
  color: var(--muted);
  margin-top: 6px;
}

.roi-body {
  margin-top: 20px;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.small {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 10px;
  font-weight: 600;
}

.features,
.how,
.faq {
  margin: 0;
}

.stripe-first {
  margin: 0;
}

.stripe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stripe-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.stripe-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px;
  text-align: center;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading p {
  color: var(--muted);
  margin-top: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.timeline {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.08);
  color: var(--text);
  font-weight: 600;
}

.timeline-icon {
  font-size: 1rem;
}

.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}

.step-number {
  font-weight: 700;
  color: var(--text);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  border: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.faq-item {
  display: grid;
  gap: 8px;
}

.faq-teaser {
  color: var(--muted);
  font-size: 0.9rem;
}

details {
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px;
}

summary {
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-actions {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .sticky-cta {
    display: none;
  }

  .hero-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-study {
    flex-direction: column;
    align-items: flex-start;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .roi-inline-email .email-row {
    grid-template-columns: 1fr;
  }

  .stripe-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }
}