/* FrontOps marketing site: light, Stripe/Linear/Intercom references */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --accent: #2f5bea;
  --accent-hover: #2449c7;
  --accent-tint: #eef2ff;
  --success: #059669;
  --success-tint: #ecfdf5;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --space: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.logo:hover { text-decoration: none; color: var(--text); }

.logo-img {
  display: block;
  height: 28px;
  width: auto;
}
@media (max-width: 959px) {
  .logo-img { height: 24px; }
}

.logo-dot {
  display: none;
}

.nav {
  display: none;
  gap: 1.4rem;
  margin-left: auto;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover { color: var(--text); text-decoration: none; }

.header-ctas {
  display: none;
  gap: 0.55rem;
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-nav {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.35rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0;
}

.mobile-nav[hidden] { display: none; }

@media (min-width: 960px) {
  .nav, .header-ctas { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s var(--ease), box-shadow 0.15s ease;
}

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

.btn-sm { padding: 0.48rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.35rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
  color: var(--text);
}

/* Hero */
.hero {
  padding: calc(var(--space) * 10) 0 calc(var(--space) * 12);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--accent-tint), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: calc(var(--space) * 5);
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: calc(var(--space) * 6);
  }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 750;
  text-wrap: balance;
  color: var(--text);
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hero-proof li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero demo */
.hero-visual { position: relative; }

.hero-demo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.hero-demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.industry-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.industry-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.industry-tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.industry-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.demo-label {
  margin: 0 0 0 auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-demo-stage {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 0.5rem 0 0.25rem;
  min-height: 420px;
}

.phone-mock {
  width: min(100%, 280px);
  background: #0f172a;
  border: 3px solid #1e293b;
  border-radius: 28px;
  padding: 0.5rem 0.5rem 0.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.phone-notch {
  width: 88px;
  height: 16px;
  background: #020617;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 0.3rem;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94a3b8;
  padding: 0 0.4rem 0.5rem;
  font-weight: 600;
}

.phone-biz {
  color: #e2e8f0;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat {
  flex: 1;
  background: #f8fafc;
  border-radius: 16px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  min-height: 280px;
}

.chat-bubble {
  max-width: 90%;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  animation: bubbleIn 0.3s var(--ease);
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.chat-bubble.ai {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-bubble.customer {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-meta {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.chat-empty {
  margin: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 1rem;
}

.phone-home {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0.55rem auto 0;
}

.proof-stack {
  position: absolute;
  right: 0;
  top: 12%;
  width: min(46%, 200px);
  display: grid;
  gap: 0.65rem;
  pointer-events: none;
}

.proof-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.proof-card.is-visible {
  opacity: 1;
  transform: none;
}

.proof-kicker {
  margin: 0 0 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.proof-dot.booked { background: var(--success); }

.proof-title {
  margin: 0 0 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.proof-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.proof-booked {
  border-color: #a7f3d0;
  background: var(--success-tint);
}

@media (max-width: 979px) {
  .proof-stack {
    position: static;
    width: 100%;
    margin-top: 1rem;
    pointer-events: auto;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .proof-stack { grid-template-columns: 1fr; }
  .demo-label { margin-left: 0; width: 100%; }
}

/* Sections */
.section { padding: calc(var(--space) * 10) 0; }

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.section-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s var(--ease);
  height: 100%;
}

.step:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Stats */
.stats-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-card.accent {
  border-color: #c7d2fe;
  background: var(--accent-tint);
}

.stat-num {
  margin: 0 0 0.4rem;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.stat-card.accent .stat-num { color: var(--accent); }

.stat-label {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat-note {
  margin: auto 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.stat-note a, .footnotes a { color: var(--accent); }

.footnotes {
  margin: 1.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ROI */
.roi-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .roi-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
}

.roi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.roi-form {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.roi-field { display: grid; gap: 0.55rem; }

.roi-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.roi-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.roi-field-value {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

.roi-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

.roi-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-sm);
  cursor: grab;
}

.roi-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  cursor: grab;
}

.roi-result {
  border-top: 1px solid var(--border);
  padding-top: 1.15rem;
}

.roi-result-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.roi-result-num {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
}

.roi-formula {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.roi-caveat {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s var(--ease);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.service-card.featured {
  border-color: #c7d2fe;
  background: var(--accent-tint);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-tint);
  border: 1px solid #dbe4ff;
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.service-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* Industries */
.industries-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
}

.industry {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s var(--ease);
}

.industry:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.industry strong { font-size: 1rem; letter-spacing: -0.01em; }
.industry span { color: var(--text-muted); font-size: 0.85rem; }

/* Packages */
.packages-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .packages-grid { grid-template-columns: repeat(3, 1fr); }
}

.package {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s var(--ease);
  height: 100%;
}

.package:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.package.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  background: #fff;
}

.package-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.package-tier {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.package h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.price {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.price-from {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.3rem;
}

.price-mo {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: var(--text);
}

.price-mo span {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.price-range {
  margin: 0.35rem 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.package ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.package li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.package li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 700;
}

.package .btn { margin-top: auto; }

/* CTA / form */
.cta-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
    align-items: start;
  }
}

.cta-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.cta-copy > p {
  color: var(--text-secondary);
  margin: 0 0 1.1rem;
}

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

.cta-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
}

.cta-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-row input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input::placeholder { color: #94a3b8; }

.form-row input:hover { border-color: var(--border-strong); }

.form-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 91, 234, 0.15);
}

.form-fine {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.thanks {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.thanks-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success-tint);
  border: 1px solid #a7f3d0;
  color: var(--success);
  font-size: 1.3rem;
  font-weight: 700;
}

.thanks h3 { margin: 0 0 0.5rem; }
.thanks p { margin: 0; color: var(--text-secondary); }

/* FAQ */
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.1rem 1.15rem;
  margin-bottom: 0.65rem;
  transition: border-color 0.15s ease;
}

.faq-list details:hover { border-color: var(--border-strong); }

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.01em;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
  flex: 0 0 auto;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-tag, .site-footer p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-label {
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text) !important;
  font-weight: 700;
  margin: 0 0 0.65rem !important;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

[hidden] { display: none !important; }

@media (max-width: 430px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .hero { padding: calc(var(--space) * 7) 0 calc(var(--space) * 8); }
  .hero h1 { font-size: 2.15rem; }
  .hero-ctas { display: grid; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: calc(var(--space) * 8) 0; }
  .cta-grid { padding: 1.35rem; }
  .packages-grid .package.featured { order: -1; }
}


/* ========== Critique round 1 fixes ========== */
@media (max-width: 979px) {
  .hero {
    padding: calc(var(--space) * 5) 0 calc(var(--space) * 6);
  }
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
    margin-bottom: 0.85rem;
  }
  .lede {
    font-size: 0.98rem;
    margin-bottom: 1.15rem;
  }
  .hero-ctas {
    margin-bottom: 1rem;
    gap: 0.55rem;
  }
  .hero-proof {
    gap: 0.35rem;
    margin-bottom: 0.25rem;
  }
  .hero-proof li {
    font-size: 0.88rem;
  }
  .hero-grid {
    gap: calc(var(--space) * 3);
  }
  .hero-demo {
    padding: 0.75rem;
  }
  .hero-demo-stage {
    min-height: 0;
    padding-top: 0;
  }
  .phone-mock {
    min-height: 340px;
    width: min(100%, 260px);
  }
  .chat {
    min-height: 220px;
  }
}

.industry-switch {
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.industry-switch::-webkit-scrollbar { display: none; }
.industry-tab { flex: 0 0 auto; }

.hero-demo-bar {
  align-items: flex-start;
}

@media (min-width: 600px) {
  .hero-demo-bar {
    align-items: center;
  }
}

/* Keep proof cards from colliding with phone on desktop */
@media (min-width: 980px) {
  .proof-stack {
    right: -4px;
    top: 18%;
    width: 190px;
  }
  .hero-demo-stage {
    padding-right: 1.5rem;
  }
}


/* ========== Critique round 2 ========== */
@media (max-width: 430px) {
  .hero {
    padding: calc(var(--space) * 4) 0 calc(var(--space) * 5);
  }
  .eyebrow { margin-bottom: 0.65rem; }
  .hero h1 {
    font-size: 1.85rem;
    margin-bottom: 0.65rem;
  }
  .lede {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.9rem;
  }
  .btn-lg {
    padding: 0.75rem 1.1rem;
    font-size: 0.92rem;
  }
  .hero-proof li {
    font-size: 0.82rem;
    padding-left: 1rem;
  }
  .phone-mock {
    min-height: 300px;
  }
  .chat { min-height: 190px; }
}

/* Booked card emphasis */
.proof-booked.is-visible {
  border-color: #a7f3d0;
}

/* Desktop: show both proof cards without crowding tabs */
@media (min-width: 980px) {
  .hero-demo-stage {
    min-height: 440px;
  }
  .proof-stack {
    top: 14%;
    gap: 0.55rem;
  }
}


/* ========== Flaw fixes: proof cards, mobile lede, demo fade ========== */
.lede-mobile { display: none; }

@media (max-width: 640px) {
  .lede-desktop { display: none; }
  .lede-mobile { display: block; }
}

.chat {
  transition: opacity 0.45s var(--ease);
}
.chat.is-fading {
  opacity: 0;
}

/* Desktop: phone left, proof cards in empty margin, never over chat */
@media (min-width: 980px) {
  .hero-demo {
    overflow: visible;
  }
  .hero-demo-stage {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 0.35rem 0.35rem 0.5rem 0.5rem;
    min-height: 420px;
  }
  .phone-mock {
    width: 268px;
    flex: 0 0 268px;
    margin: 0;
  }
  .proof-stack {
    position: relative;
    right: auto;
    top: 2.75rem;
    width: 168px;
    flex: 0 0 168px;
    display: grid;
    gap: 0.55rem;
  }
  .proof-card {
    padding: 0.65rem 0.7rem;
  }
  .proof-title {
    font-size: 0.8rem;
  }
  .proof-meta {
    font-size: 0.7rem;
  }
}

/* Legal pages and 404 */
.footer-address { font-style: normal; line-height: 1.6; }
.legal { padding: 4rem 1.25rem 5rem; max-width: 720px; }
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
.legal p, .legal li { color: var(--text-secondary); line-height: 1.65; }
.legal a { color: var(--accent); }
.legal-updated { font-size: 0.9rem; color: var(--text-muted) !important; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.legal-actions .btn { color: inherit; }
.legal-actions .btn-primary { color: #fff; }
.legal-footer .footer-bottom { display: flex; flex-direction: column; gap: 0.35rem; }
.legal-footer .footer-bottom p { margin: 0; overflow-wrap: anywhere; }

/* ROI example inputs */
.roi-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; margin: 0 0 1.1rem; }
.roi-example-tag { margin: 0; display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 0.8rem; font-weight: 600; }
.roi-example-tag.is-custom { background: var(--accent-tint); color: var(--accent); }
.roi-actions { display: flex; gap: 0.4rem; }
.roi-action { font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.8rem; cursor: pointer; }
.roi-action:hover { border-color: var(--accent); color: var(--accent); }
.roi-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
