:root {
  --primary: #1E40AF;
  --primary-dark: #1E3A8A;
  --accent: #F97316;
  --accent-text: #ffffff;
  --bg: #ffffff;
  --bg-tinted: #f8fafc;
  --fg: #0f172a;
  --fg-soft: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-soft: #eef2f7;
  --bubble-ai: #1E40AF;
  --bubble-caller: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 16px 48px rgba(15,23,42,0.12);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.site-header img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}
.site-header .brand {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.015em;
}
.site-header .nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-soft);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.site-header .nav-cta:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 60%),
    radial-gradient(800px 400px at 90% 90%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: 100%;
  align-items: center;
}
.hero-copy { text-align: center; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, white);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero .eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.hero h1 {
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--fg);
  font-weight: 700;
}
.hero .sub {
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.12s ease, box-shadow 0.18s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-primary svg { width: 17px; height: 17px; }
.btn-cta-row .phone {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Hero call card */
.call-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.call-card .cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
}
.call-card .cc-head .cc-who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.call-card .cc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--accent)));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.call-card .cc-name { font-weight: 600; font-size: 15px; }
.call-card .cc-sub { font-size: 12px; color: var(--muted); }
.call-card .cc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}
.call-card .cc-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  animation: pulse 1.6s ease-in-out infinite;
}
.call-card .cc-line {
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-soft);
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.call-card .cc-line.ai {
  background: color-mix(in srgb, var(--primary) 8%, white);
  color: var(--fg);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, white);
}
.call-card .cc-line.caller {
  background: var(--bg-tinted);
  color: var(--fg-soft);
  margin-left: 22px;
}
.call-card .cc-line .who {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 3px;
}

/* ============ Trust strip ============ */
.trust {
  background: var(--bg-tinted);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
}
.trust-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ============ Section base ============ */
section { padding: 64px 0; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-head p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--muted);
}

/* ============ Value props ============ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); transform: translateY(-2px); box-shadow: var(--shadow); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* ============ How it works ============ */
.how {
  background:
    linear-gradient(180deg, var(--bg-tinted), white);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.step .num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 30%, transparent);
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ============ Sample dialog ============ */
.dialog-wrap {
  background: var(--bg-tinted);
}
.dialog {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.dialog .row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-end;
}
.dialog .row.caller { flex-direction: row-reverse; }
.dialog .avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.dialog .avatar.ai {
  background: var(--bubble-ai);
  color: white;
}
.dialog .avatar.caller {
  background: var(--bg-tinted);
  color: var(--fg-soft);
  border: 1px solid var(--border);
}
.bubble {
  padding: 11px 15px;
  border-radius: 18px;
  max-width: 78%;
  line-height: 1.4;
  font-size: 15px;
}
.bubble.ai {
  background: var(--bubble-ai);
  color: white;
  border-bottom-left-radius: 4px;
}
.bubble.caller {
  background: var(--bubble-caller);
  color: var(--fg);
  border-bottom-right-radius: 4px;
}

/* ============ Signup ============ */
.signup {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  position: relative;
  overflow: hidden;
}
.signup::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%);
}
.signup .container { position: relative; }
.signup h2 { color: white; }
.signup p {
  margin-top: 12px;
  margin-bottom: 28px;
  opacity: 0.85;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.signup .btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 50%, transparent);
}
.signup .btn-primary:hover { transform: translateY(-1px); }
.signup .badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  font-size: 13px;
  opacity: 0.85;
}
.signup .badges span { display: inline-flex; gap: 6px; align-items: center; }
.signup .badges svg { width: 14px; height: 14px; }

/* ============ Footer ============ */
.site-footer {
  padding: 32px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--muted);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.site-footer a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border); }
.site-footer a:hover { color: var(--primary); text-decoration-color: currentColor; }
.site-footer .links a { margin: 0 8px; }
.site-footer .powered {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* ============ Desktop ============ */
@media (min-width: 760px) {
  .hero { min-height: 70vh; padding: 80px 0 96px; }
  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .hero-copy { text-align: left; }
  .hero .sub { margin-left: 0; margin-right: 0; }
  .btn-cta-row { flex-direction: row; gap: 18px; align-items: center; }
  .hero h1 { font-size: 52px; }
  .hero .sub { font-size: 20px; }
  section { padding: 96px 0; }
  .section-head h2 { font-size: 36px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step { flex-direction: column; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 60px; }
}
