:root {
  --bg: #0d0d0d;
  --bg-alt: #111111;
  --bg-card: #161616;
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent: #ff6b00;
  --accent-hover: #ff8c33;
  --border: #222222;
  --border-light: #333333;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.4);

  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --container: min(1120px, 92vw);
  --radius: 6px;
  --radius-lg: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo:hover {
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a:hover {
  color: var(--white);
}
.nav .btn-ghost {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
}
.nav .btn-ghost:hover {
  background: var(--accent);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-lg);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-full {
  width: 100%;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 107, 0, 0.06), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.hero-stat-number {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--accent);
  font-style: italic;
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.hero-chatbot-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.hero-chatbot-cta:hover {
  background: rgba(255, 107, 0, 0.15);
  border-color: var(--accent);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.hero-chatbot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* ----- Logo Bar ----- */
.logo-bar {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
}

.logo-bar-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.logo-bar-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.logo-bar-logos span {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logo-bar-logos span:hover {
  opacity: 1;
}

/* ----- Section defaults ----- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-xl);
  max-width: 560px;
}

/* ----- Positioning ----- */
.positioning {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}

.positioning-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.positioning-card {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.positioning-card-us {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.08);
}

.positioning-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.positioning-card-us .positioning-icon {
  color: var(--accent);
  font-weight: 700;
}

.positioning-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-xs);
  color: var(--white);
}

.positioning-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .positioning-cards {
    grid-template-columns: 1fr;
  }
}

/* ----- How it works (phases) ----- */
.how {
  padding: var(--space-3xl) 0;
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.phase {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.phase-featured {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.08);
}

.phase-number {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.phase-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 var(--space-xs);
  color: var(--white);
}

.phase-tag {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
}

.phase-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  flex-grow: 1;
  line-height: 1.6;
}

.phase-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.phase-list li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: var(--space-xs);
}
.phase-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.phase-price {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}
.phase-price span {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.phase-cta {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}
.phase-cta:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .phases {
    grid-template-columns: 1fr;
  }
}

/* ----- Who it's for ----- */
.who {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.who-card {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.who-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--white);
}

.who-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.who-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}

.who-trust-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.who-trust-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
  .who-trust {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ----- Proof (unused, kept for reference) ----- */
.proof {
  padding: var(--space-3xl) 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.proof-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.proof-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Team ----- */
.team {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.team-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.team-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--white);
}

.team-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .team-cards {
    grid-template-columns: 1fr;
  }
}

/* ----- CTA / Contact ----- */
.cta {
  padding: var(--space-3xl) 0;
}

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

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}

.cta-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
  max-width: 560px;
}

.calendly-inline-widget {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ----- Footer ----- */
.site-footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 var(--space-xs);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-xs);
}

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

/* ----- Health Check Calculator ----- */
.healthcheck {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}

.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-2xl);
  align-items: start;
}

.hc-content .section-title {
  max-width: 420px;
}

.hc-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
  max-width: 400px;
  line-height: 1.6;
}

.hc-prompt {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}

.hc-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hc-checklist li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hc-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.hc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.hc-benchmarks-label,
.hc-form-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin: 0 0 var(--space-sm);
}

.hc-bench-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hc-bench-row strong {
  color: var(--white);
  font-weight: 700;
}

.hc-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-md) 0;
}

.hc-field {
  margin-bottom: var(--space-sm);
}

.hc-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hc-field select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--white);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.hc-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.hc-checkboxes {
  margin-bottom: var(--space-sm);
}

.hc-checkboxes-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.hc-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 1rem;
}

.hc-checkbox-grid label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.hc-checkbox-grid input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.hc-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: var(--space-sm) 0 0;
  text-align: center;
}

/* Health Check Results */
.hc-results-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.hc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.hc-result-item {
  text-align: center;
}

.hc-result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.hc-result-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hc-results-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ----- Before / After Transformation ----- */
.transform {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.transform-title {
  text-align: center;
}

.transform-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: var(--space-xs) auto var(--space-2xl);
  text-align: center;
}

.transform-subtitle strong {
  color: var(--accent);
}

.transform-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.transform-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  text-align: left;
}

.transform-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: var(--space-md);
}

.transform-label-before {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.2);
}

.transform-label-after {
  color: var(--accent);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.transform-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.transform-metric:last-child {
  border-bottom: none;
}

.transform-metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.transform-metric-value {
  font-size: 1rem;
  font-weight: 700;
}

.transform-bad {
  color: #ff4444;
}

.transform-good {
  color: var(--accent);
}

.transform-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 var(--space-sm);
}

.transform-arrow-icon {
  color: var(--accent);
  font-size: 1.25rem;
}

.transform-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.transform-result {
  text-align: center;
}

.transform-result-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.transform-result-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .transform-compare {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .transform-arrow {
    flex-direction: row;
    justify-content: center;
    padding: var(--space-xs) 0;
  }

  .transform-arrow-icon {
    transform: rotate(-90deg);
  }

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

@media (max-width: 480px) {
  .transform-results {
    grid-template-columns: 1fr;
  }
}

/* ----- Global Mobile Overrides ----- */
@media (max-width: 480px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2rem;
    --space-xl: 1.5rem;
  }

  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }

  .hero-stat-number {
    font-size: 1.375rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hc-card {
    padding: var(--space-sm);
  }

  .hc-bench-row {
    font-size: 0.8125rem;
  }

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

  .phase {
    padding: var(--space-lg);
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav.is-open {
    z-index: 101;
    gap: var(--space-sm);
  }
}

/* Health Check analysis text */
.hc-breakdown {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hc-breakdown-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
}

.hc-breakdown-label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hc-breakdown-content {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hc-breakdown-content:empty {
  display: none;
}

/* ----- Scroll Reveal Animations ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children > *:nth-child(1) { transition-delay: 0s; }
.reveal-children > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-children > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-children > *:nth-child(4) { transition-delay: 0.3s; }

/* Hero entrance (on page load, no observer) */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-anim {
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-anim-1 { animation-delay: 0s; }
.hero-anim-2 { animation-delay: 0.12s; }
.hero-anim-3 { animation-delay: 0.24s; }
.hero-anim-4 { animation-delay: 0.36s; }
.hero-anim-5 { animation-delay: 0.48s; }
.hero-anim-6 { animation-delay: 0.6s; }

/* Hero stat scale-in */
@keyframes statPop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.hero-stat-anim {
  opacity: 0;
  animation: statPop 0.5s ease forwards;
}

.hero-stat-anim:nth-child(1) { animation-delay: 0.15s; }
.hero-stat-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-stat-anim:nth-child(3) { animation-delay: 0.45s; }
.hero-stat-anim:nth-child(4) { animation-delay: 0.6s; }

/* Card hover lift */
.phase,
.who-card,
.team-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.phase:hover,
.who-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-anim,
  .hero-stat-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .phase:hover,
  .who-card:hover,
  .team-card:hover {
    transform: none;
  }
}

/* ----- Floating Chat FAB ----- */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 107, 0, 0.45);
}

.chat-fab.is-hidden {
  display: none;
}

.chat-fab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: fabPulse 2s ease-in-out infinite;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

@media (max-width: 480px) {
  .chat-fab {
    padding: 12px 16px;
    font-size: 0.8125rem;
    bottom: 1rem;
    right: 1rem;
  }

  .chat-fab-label {
    display: none;
  }

  .chat-fab {
    border-radius: 50%;
    padding: 14px;
  }
}

/* ----- Chatbot ----- */
.chatbot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.chatbot-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.chatbot-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.chatbot-panel.is-open {
  transform: translateX(0);
}

/* ----- Lead Gate Modal ----- */
.lead-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lead-gate-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lead-gate-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  width: min(460px, calc(100vw - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  z-index: 1101;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lead-gate-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.lead-gate-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.lead-gate-modal h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.lead-gate-copy {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.lead-gate-modal label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.lead-gate-modal input,
.lead-gate-modal select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.62rem 0.75rem;
  margin-bottom: 0.85rem;
}

.lead-gate-modal input:focus,
.lead-gate-modal select:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-phone-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem;
}

.lead-gate-error {
  min-height: 1.2rem;
  margin: 0 0 0.75rem;
  color: #ff7b7b;
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  .lead-gate-modal {
    padding: var(--space-md);
  }

  .lead-phone-row {
    grid-template-columns: 115px 1fr;
  }
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.chatbot-header-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.chatbot-close:hover {
  color: var(--white);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.chatbot-msg {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  line-height: 1.55;
  word-wrap: break-word;
}

.chatbot-msg-bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chatbot-msg-user {
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-msg-system {
  background: transparent;
  color: var(--text-dim);
  font-size: 0.75rem;
  text-align: center;
  align-self: center;
  max-width: 100%;
  padding: 4px 8px;
}

.chatbot-typing {
  color: var(--text-dim);
  font-style: italic;
}

.chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 var(--space-md);
  min-height: 0;
}

.chatbot-chips:empty {
  display: none;
}

.chatbot-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.chatbot-chip-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

.chatbot-chip-remove:hover {
  color: #ff4444;
}

.chatbot-input-bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}

.chatbot-file-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}

.chatbot-file-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.chatbot-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 8px 12px;
  resize: none;
  min-height: 38px;
  max-height: 120px;
  line-height: 1.4;
  transition: border-color 0.2s;
}

.chatbot-input::placeholder {
  color: var(--text-dim);
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--accent);
}

.chatbot-send {
  padding: 8px 16px;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .chatbot-panel {
    width: 100vw;
  }
}
