:root {
  --ink: #101114;
  --paper: #f4f5f2;
  --card: #ffffff;
  --muted: #666a70;
  --line: #d8dad6;
  --signal: #f34b2d;
  --signal-dark: #c92f17;
  --night: #17191d;
  --lime: #dff45c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, input { font: inherit; }

.topbar {
  height: 74px;
  max-width: 1240px;
  padding: 0 28px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--signal); color: #fff; font-size: 13px; }
.pilot-badge { font-size: 13px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: #fff; }

main { overflow: hidden; }
.hero {
  max-width: 1240px;
  min-height: 690px;
  margin: auto;
  padding: 80px 28px 90px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
}
.eyebrow { margin: 0 0 18px; color: var(--signal-dark); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(42px, 5.4vw, 72px); line-height: .98; letter-spacing: -.055em; }
h1 em { color: var(--signal); font-style: normal; }
h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -.045em; }
h3 { font-size: 25px; line-height: 1.15; letter-spacing: -.03em; }
.lead { max-width: 650px; color: #4d5056; font-size: 19px; }
.hero-actions { display: flex; gap: 12px; margin: 32px 0 40px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 12px 18px; border-radius: 10px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; text-decoration: none; cursor: pointer; transition: .18s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--signal); color: #fff; box-shadow: 0 8px 20px rgba(243,75,45,.2); }
.primary:hover { background: var(--signal-dark); }
.secondary { border-color: #b9bcb8; background: transparent; }
.full { width: 100%; }
.proof-strip { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.proof-strip li { padding: 18px 14px 0 0; display: flex; flex-direction: column; }
.proof-strip strong { font-size: 20px; }
.proof-strip span { color: var(--muted); font-size: 13px; }

.inbox-card { position: relative; background: var(--night); color: #fff; border-radius: 24px; padding: 24px; box-shadow: 22px 28px 0 #dfe1dc, 0 35px 70px rgba(16,17,20,.22); }
.inbox-card::before { content: ""; position: absolute; width: 110px; height: 110px; top: -42px; right: -36px; background: var(--lime); border-radius: 50%; z-index: -1; }
.card-head { display: flex; justify-content: space-between; color: #b8bcc4; font-size: 13px; padding-bottom: 20px; border-bottom: 1px solid #31343a; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(223,244,92,.12); }
.lead-id { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 23px 0; }
.lead-id div:nth-child(2) { display: flex; flex-direction: column; }
.lead-id div:nth-child(2) span { color: #aeb2b9; font-size: 13px; }
.avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: #343840; color: var(--lime); font-weight: 800; }
.score { background: var(--lime); color: var(--ink); padding: 6px 9px; border-radius: 99px; font-size: 12px; font-weight: 850; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #34373d; border: 1px solid #34373d; border-radius: 14px; overflow: hidden; }
.facts div { background: #202329; padding: 15px; }
.facts dt { color: #9ba0a8; font-size: 12px; }
.facts dd { margin: 5px 0 0; font-size: 14px; font-weight: 700; }
.timeline { margin-top: 20px; }
.timeline div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; font-size: 13px; }
.timeline span { color: var(--lime); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0 0 8px; color: #dfe1e4; }

.demo { background: var(--night); color: #fff; padding: 96px 28px; }
.section-heading { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-heading p:last-child { color: #acb0b7; font-size: 18px; }
.demo-grid { max-width: 940px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.phone { min-height: 560px; border-radius: 30px; background: #f0f1ed; color: var(--ink); padding: 18px; border: 8px solid #30333a; box-shadow: 0 25px 60px #08090b; display: flex; flex-direction: column; }
.phone-bar { display: flex; justify-content: space-between; padding: 2px 8px 20px; font-size: 12px; font-weight: 800; }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.bubble { max-width: 86%; padding: 11px 13px; border-radius: 14px; font-size: 14px; box-shadow: 0 2px 5px rgba(0,0,0,.06); animation: pop .25s ease both; }
.bubble.business { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.bubble.customer { align-self: flex-end; background: #dff45c; border-bottom-right-radius: 4px; }
.bubble small { display: block; margin-top: 5px; color: #72767c; text-align: right; font-size: 11px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.quick-replies { display: grid; gap: 8px; margin-top: 14px; }
.quick-replies button { border: 1px solid #c9cbc7; border-radius: 10px; background: #fff; padding: 10px; font-weight: 750; cursor: pointer; }
.operator-panel { display: flex; flex-direction: column; justify-content: center; padding: 42px; border: 1px solid #34373d; border-radius: 24px; background: #1e2126; }
.operator-panel p { color: #afb3ba; }
.panel-label { color: var(--lime) !important; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.progress { height: 7px; margin: 20px 0 28px; border-radius: 99px; overflow: hidden; background: #34373d; }
.progress span { display: block; width: 0; height: 100%; background: var(--lime); transition: width .35s ease; }
.text-button { margin-top: 12px; border: 0; background: transparent; color: #aeb2b8; text-decoration: underline; cursor: pointer; }

.calculator { max-width: 1180px; margin: auto; padding: 110px 28px; }
.section-heading.compact { margin-bottom: 44px; }
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.controls { display: grid; gap: 28px; background: #fff; padding: 30px; border: 1px solid var(--line); border-radius: 20px; }
.controls label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-weight: 750; }
.controls output { color: var(--signal-dark); font-variant-numeric: tabular-nums; }
.controls input { grid-column: 1/-1; width: 100%; accent-color: var(--signal); }
.result-card { background: var(--signal); color: #fff; padding: 36px; border-radius: 20px; display: flex; flex-direction: column; }
.result-card > span { font-size: 14px; font-weight: 750; }
.result-card > strong { margin: 12px 0 30px; font-size: clamp(42px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; }
.result-row { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.28); }
.result-card p { margin: auto 0 0; padding-top: 24px; font-weight: 800; }

.scope { max-width: 1180px; margin: auto; padding: 20px 28px 110px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.scope ol { list-style: none; margin: 0; padding: 0; }
.scope li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.scope li span { color: var(--signal); font-weight: 900; }
.scope li strong { font-size: 19px; }
.scope li p { margin: 4px 0 0; color: var(--muted); }
.final-cta { max-width: 1124px; margin: 0 auto 90px; padding: 64px; border-radius: 28px; background: #dfe3dc; text-align: center; }
.final-cta p:not(.eyebrow) { max-width: 680px; margin: 0 auto 28px; color: #555a5f; font-size: 18px; }
#copyStatus { display: block; min-height: 24px; margin-top: 10px; color: var(--signal-dark); font-weight: 800; }
footer { max-width: 1180px; margin: auto; padding: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .hero, .demo-grid, .calc-grid, .scope { grid-template-columns: 1fr; }
  .hero { gap: 64px; padding-top: 56px; }
  .scope { gap: 20px; }
  .inbox-card { box-shadow: 12px 14px 0 #dfe1dc, 0 25px 50px rgba(16,17,20,.18); }
}
@media (max-width: 560px) {
  .topbar { height: 64px; padding: 0 18px; }
  .pilot-badge { display: none; }
  .hero, .demo, .calculator, .scope { padding-left: 18px; padding-right: 18px; }
  .hero { padding-bottom: 70px; }
  h1 { font-size: 43px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip li { flex-direction: row; align-items: baseline; gap: 10px; }
  .facts { grid-template-columns: 1fr; }
  .inbox-card { padding: 18px; }
  .lead-id { grid-template-columns: auto 1fr; }
  .score { grid-column: 2; justify-self: start; }
  .demo { padding-top: 74px; padding-bottom: 74px; }
  .operator-panel, .controls, .result-card { padding: 24px; }
  .final-cta { margin: 0 18px 60px; padding: 42px 22px; }
  footer { flex-direction: column; padding: 22px 18px; }
}

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