:root {
  color-scheme: light;
  --ink: #151817;
  --muted: #5a6460;
  --line: #dfe8e2;
  --paper: #f8faf7;
  --surface: #ffffff;
  --green: #1e7a52;
  --green-dark: #12563b;
  --mint: #dff4ea;
  --amber: #f5b84b;
  --red: #d45848;
  --blue: #2d6cdf;
  --shadow: 0 22px 70px rgba(21, 24, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(248, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.nav-links,
.hero-actions,
.proof-row {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  color: var(--muted);
  font-size: 14px;
  gap: 22px;
}

.hero {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  min-height: calc(100vh - 68px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 56px) 42px;
}

.hero-copy {
  align-self: center;
  max-width: 680px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  margin-bottom: 14px;
}

h3 {
  font-size: 24px;
  line-height: 1.12;
}

.hero-text,
.section-heading p,
.problem-band p,
.lead-section p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.proof-row {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  background: var(--mint);
  border: 1px solid #c6ead8;
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.product-scene {
  align-self: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 184, 75, 0.28), transparent 28%),
    linear-gradient(135deg, #e9f5ef, #eef2ff 58%, #fff7e2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.76fr);
  min-height: 520px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
}

.phone-panel,
.summary-panel,
.demo-form,
.demo-output,
.price-card,
.lead-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(21, 24, 23, 0.08);
}

.phone-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
  padding: 18px;
}

.phone-top,
.caller-card,
.status-strip {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.phone-top {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: auto;
}

.caller-card {
  background: #fff7e8;
  border: 1px solid #f6ddae;
  border-radius: 8px;
  gap: 12px;
  justify-content: flex-start;
  padding: 14px;
}

.caller-card p {
  color: var(--muted);
  margin: 3px 0 0;
}

.pulse,
.status-dot {
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  height: 12px;
  width: 12px;
}

.pulse {
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(212, 88, 72, 0.14);
}

.message {
  border-radius: 8px;
  line-height: 1.35;
  max-width: 88%;
  padding: 12px 14px;
}

.message.outbound {
  align-self: flex-start;
  background: #eef4ff;
  color: #183b78;
}

.message.inbound {
  align-self: flex-end;
  background: var(--green);
  color: white;
}

.summary-panel {
  align-self: end;
  padding: 20px;
}

.panel-label,
.plan {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

dl div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  font-weight: 800;
  margin: 4px 0 0;
}

.mini-button {
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: 800;
  min-height: 42px;
  width: 100%;
}

.problem-band,
.workflow,
.pricing,
.lead-section {
  padding: clamp(46px, 7vw, 88px) clamp(18px, 4vw, 56px);
}

.problem-band {
  align-items: start;
  background: var(--ink);
  color: white;
  display: grid;
  gap: 36px;
  grid-template-columns: 0.8fr 1fr;
}

.problem-band .eyebrow {
  color: var(--amber);
}

.problem-band p {
  color: #d8dedb;
}

.section-heading {
  max-width: 760px;
}

.demo-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  margin-top: 26px;
}

.demo-form,
.demo-output {
  padding: 20px;
}

.demo-form {
  display: grid;
  gap: 16px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

input,
select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 0 12px;
}

.demo-output {
  display: grid;
  gap: 16px;
  grid-template-rows: auto minmax(220px, auto) auto;
  min-height: 440px;
}

.status-strip {
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  justify-content: flex-start;
  gap: 9px;
  padding: 10px 12px;
}

.status-dot.idle {
  background: var(--amber);
}

.status-dot.live {
  background: var(--green);
}

.conversation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-summary {
  background: #f7fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.lead-summary dl {
  grid-template-columns: repeat(3, 1fr);
}

.price-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.price-card {
  padding: 22px;
}

.price-card.featured {
  border-color: #b8dfca;
  box-shadow: 0 18px 58px rgba(30, 122, 82, 0.16);
}

.price-card h3 {
  font-size: 42px;
  margin-bottom: 10px;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 16px;
}

.price-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.45;
}

.price-card ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.price-card li::before {
  color: var(--green);
  content: "✓ ";
  font-weight: 900;
}

.lead-section {
  align-items: center;
  background: #edf6f1;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.form-message {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  min-height: 20px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

@media (max-width: 980px) {
  .hero,
  .problem-band,
  .demo-grid,
  .price-grid,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-scene {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    position: static;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text,
  .section-heading p,
  .problem-band p,
  .lead-section p {
    font-size: 16px;
  }

  .lead-summary dl {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
