:root {
  --blue: #0d6efd;
  --blue-dark: #0b5ed7;
  --green: #22c55e;
  --green-dark: #16a34a;
  --amber: #eab308;
  --orange: #f97316;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e5ea;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --red: #b91c1c;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 640px;
  margin-bottom: 20px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.muted-line { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { opacity: 0.85; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink-soft); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-nowrap { flex-shrink: 0; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* Announcement bar */
.announcement-bar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
}
.announcement-bar p { max-width: 900px; margin: 0 auto; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-icon { width: 24px; height: 24px; object-fit: contain; }
.brand-word { font-weight: 800; font-size: 16.5px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.nav-drawer a {
  padding: 12px 4px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.nav-drawer a:last-child { border-bottom: none; margin-top: 8px; }
.nav.is-open .nav-drawer { display: flex; }

/* Hero */
.hero {
  padding: clamp(48px, 7vw, 88px) 24px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 520px);
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--blue); }
.hero-title {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 26px;
}
.hero-sub.center { max-width: 640px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.hero-bullets li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.hero-bullets li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 700;
}
.hero-questions {
  position: relative;
  min-height: 44px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.hero-questions span {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-questions span.is-active {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero visual / chart cards */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.chart-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.card-label { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.02em; }
.card-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-dark);
  background: #eafbf0;
  padding: 3px 9px;
  border-radius: 999px;
}
.chart-card-featured h3 { font-size: 16px; margin-bottom: 14px; }
.chart-screenshot { border-radius: 8px; border: 1px solid var(--line); }

.hero-visual-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.tier-card, .stat-card { padding: 16px; }

.tier-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.tier-row { display: flex; align-items: center; gap: 8px; }
.tier-name { font-size: 12.5px; font-weight: 600; width: 52px; flex-shrink: 0; }
.tier-vip { color: var(--amber); }
.tier-core { color: var(--blue); }
.tier-drifting { color: var(--orange); }
.tier-lost { color: var(--muted); }
.tier-track {
  flex: 1;
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.tier-fill { display: block; height: 100%; border-radius: 999px; }
.tier-fill-vip { background: var(--amber); }
.tier-fill-core { background: var(--blue); }
.tier-fill-drifting { background: var(--orange); }
.tier-fill-lost { background: var(--muted); }
.tier-count { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); width: 16px; text-align: right; }

.stat-card { display: flex; flex-direction: column; gap: 6px; }
.stat-number { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }

/* Mini charts (SVG illustrations) */
.mini-chart { width: 100%; height: 40px; display: block; margin: 10px 0; }
.mini-chart-donut { width: 60px; height: 60px; margin: 6px auto; }
.line-accent { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.line-warn { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dot-warn { fill: var(--orange); }
.bar-muted { fill: var(--line); }
.bar-accent { fill: var(--blue); }
.donut-track { fill: none; stroke: var(--line); stroke-width: 5; }
.donut-value { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; }

/* Card grids (Problem, Product preview, Insights preview, Differentiation) */
.card-grid { display: grid; gap: 20px; margin-top: 40px; }
.card-grid.three-up { grid-template-columns: repeat(3, 1fr); }
.card-grid.four-up { grid-template-columns: repeat(4, 1fr); }
.card-grid.five-up { grid-template-columns: repeat(5, 1fr); }
.info-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}
.info-card h3 { font-size: 16px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.chart-info-card h3 { font-size: 14.5px; }

.stat-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.stat-item { text-align: center; max-width: 220px; }
.stat-item strong { display: block; font-size: 30px; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.stat-item span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Section wrappers */
.problem, .solution, .product-preview, .insights-preview, .differentiation {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.problem-sub, .solution-sub, .product-preview-sub, .insights-sub, .differentiation-sub {
  max-width: 640px;
  margin-bottom: 0;
}
.problem .section-title { margin-bottom: 16px; }

/* Solution steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.step-num { display: block; font-weight: 800; font-size: 13px; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.02em; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Book a Call CTA band */
.call-band { padding: 56px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.call-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.call-band-inner h2 { font-size: 22px; margin-bottom: 6px; }
.call-band-inner p { color: var(--muted); font-size: 14.5px; }

/* Waitlist */
.waitlist { padding: 80px 0; }
.waitlist-inner { display: flex; flex-direction: column; align-items: center; }
.waitlist-sub { margin-bottom: 36px; }
.lead-form {
  width: 100%;
  max-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.lead-form input, .lead-form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  resize: vertical;
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--ink-soft); }
.lead-form-full { grid-column: 1 / -1; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--muted); min-height: 18px; text-align: center; }
.form-note.is-success { color: var(--green-dark); font-weight: 600; }
.form-note.is-error { color: var(--red); font-weight: 600; }

/* Book a Call page */
.booking-hero {
  padding: clamp(48px, 7vw, 80px) 24px 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.booking-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.booking-title { font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 16px; }
.booking { padding: 56px 0 80px; }
.booking-embed { display: flex; justify-content: center; }
.booking-iframe {
  width: 100%;
  max-width: 720px;
  height: 720px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.booking-placeholder {
  width: 100%;
  max-width: 520px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 32px;
  background: var(--bg-soft);
}
.booking-placeholder h3 { font-size: 19px; margin-bottom: 10px; }
.booking-placeholder p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.booking-placeholder a { color: var(--ink); font-weight: 600; text-decoration: underline; }

/* Footer */
.footer { padding: 48px 0 28px; border-top: 1px solid var(--line); }
.footer-lead { max-width: 480px; font-size: 14px; margin-bottom: 24px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; font-size: 14px; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-copy { color: var(--muted); font-size: 13px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .card-grid.four-up { grid-template-columns: repeat(2, 1fr); }
  .card-grid.five-up { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three-up { grid-template-columns: 1fr; }
  .card-grid.five-up { grid-template-columns: repeat(2, 1fr); }
  .hero-visual-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .card-grid.four-up, .card-grid.five-up { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form label { grid-column: 1 / -1; }
  .call-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
