:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17223b;
  background: #f4f6fa;
  font-synthesis: none;
  --blue: #315de9;
  --muted: #68758d;
  --border: #e1e6f0;
}
* {
  box-sizing: border-box;
}
html:not([data-mode="dev"]) [data-dev-only] {
  display: none !important;
}
html:not([data-mode="dev"]) .offer {
  grid-template-columns: 1fr;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
audio,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7ea4ff;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.top {
  height: 84px;
  max-width: 1184px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--border);
}
.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  letter-spacing: -0.6px;
}
.brand-mark {
  background: var(--blue);
  color: white;
  border-radius: 11px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.brand-note {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid #d5dbe6;
}
.local {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.local span {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #7f8ca5;
}
main {
  max-width: 1184px;
  margin: auto;
  padding: 52px 32px 24px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--blue);
  margin: 0 0 14px;
}
h1 {
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -2.7px;
  margin: 0 0 20px;
  font-weight: 650;
}
.lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.intro {
  margin-bottom: 38px;
}
.steps {
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 12px;
  color: #8b96a9;
  margin-bottom: 19px;
}
.steps span {
  display: flex;
  gap: 8px;
}
.steps b {
  font-weight: 500;
  color: #657189;
}
.steps span.active,
.steps span.active b {
  color: var(--blue);
}
.steps i {
  font-style: normal;
  color: #bac3d4;
}
.workspace {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 20px;
}
.call-card {
  background: #152342;
  color: white;
  border-radius: 20px;
  min-height: 440px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 38px #18274914;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a9b8d2;
}
.pill {
  background: #ffffff12;
  border: 1px solid #ffffff13;
  border-radius: 20px;
  padding: 7px 11px;
}
.call-center {
  text-align: center;
  padding: 30px 0 12px;
}
.phone-orb {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid #6684c24d;
  border-radius: 50%;
  background: radial-gradient(circle, #4265b340, #29437615);
  margin: auto auto 22px;
}
.phone-orb svg {
  width: 27px;
  fill: none;
  stroke: #b4ceff;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.call-center h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  font-weight: 550;
  margin: 0 0 12px;
}
.call-center p {
  font-size: 13px;
  line-height: 1.7;
  color: #a3b3ce;
  margin: 0;
  min-height: 44px;
}
.wave {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 14px 0 9px;
}
.wave span {
  width: 3px;
  height: 4px;
  background: #6791ff;
  border-radius: 4px;
  transition: height 0.12s;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}
.primary,
.secondary,
.stop {
  min-height: 46px;
  border-radius: 10px;
  padding: 12px 20px;
  border: 0;
  font-size: 14px;
  font-weight: 550;
}
.primary {
  background: #4976ff;
  color: white;
  min-width: 245px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: 0 5px 15px #0002;
}
.primary:hover {
  background: #3868f5;
}
.stop {
  background: #ffffff10;
  color: #f4b5ba;
  border: 1px solid #e39aa144;
}
.secondary {
  background: #eef3ff;
  color: #315de9;
  border: 1px solid #d4dff9;
}
.status {
  font-size: 11px;
  line-height: 1.6;
  color: #92a5c6;
  text-align: center;
  margin: 15px 0 0;
  min-height: 18px;
}
.error {
  font-size: 12px;
  color: #ffe0d9;
  background: #fa7e6630;
  border-radius: 8px;
  padding: 12px;
  line-height: 1.6;
}
.transcript-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.3px;
}
.tiny-dot {
  width: 7px;
  height: 7px;
  background: #dce2ed;
  border-radius: 50%;
}
.tiny-dot.active {
  background: #3868f5;
  box-shadow: 0 0 0 5px #edf2ff;
}
.transcript {
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.5px;
  padding: 20px 0;
  overflow-wrap: anywhere;
  max-height: 160px;
  overflow: auto;
}
.transcript.placeholder {
  font-size: 17px;
  letter-spacing: 0;
  color: #a3adbf;
  max-width: 300px;
  line-height: 1.7;
}
.transcript.interim {
  color: #7b879f;
}
.transcript-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid #eef0f5;
  color: #8b96aa;
  font-size: 10px;
  line-height: 1.5;
}
.jev-panel {
  background: #f4f7fd;
  border: 1px solid #e4eaf6;
  border-radius: 14px;
  padding: 18px;
  margin: 0 0 20px;
}
.jev-panel .section-head {
  flex-wrap: wrap;
  gap: 8px;
}
.jev-panel .section-head h2 {
  font-size: 14px;
}
.jev-status {
  font-size: 10px;
  color: #586b8c;
  background: #e8edf7;
  border-radius: 20px;
  padding: 5px 8px;
}
.jev-status.pending {
  color: #315cdb;
  background: #e2eaff;
}
.jev-result {
  --result-border: #bdc9dc;
  --result-bg: #edf1f7;
  --result-color: #536482;
  min-width: 0;
  border: 2px solid var(--result-border);
  border-radius: 12px;
  background: var(--result-bg);
  padding: 10px 16px 16px;
  margin: 20px 0 12px;
  color: var(--result-color);
}
.jev-result legend {
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.jev-result h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 3px 0 0;
  line-height: 1.2;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.jev-result[data-outcome="yes"] {
  --result-border: #85ba9d;
  --result-bg: #edf8f1;
  --result-color: #286445;
}
.jev-result[data-outcome="no"] {
  --result-border: #d4a49e;
  --result-bg: #fcf0ed;
  --result-color: #934b42;
}
.jev-result[data-outcome="business_question"] {
  --result-border: #8ca9ec;
  --result-bg: #eaf0ff;
  --result-color: #3059af;
}
.jev-result[data-outcome="unclear"] {
  --result-border: #cbb16e;
  --result-bg: #fff7e5;
  --result-color: #806124;
}
.jev-action {
  font-size: 12px;
  line-height: 1.6;
  color: #536482;
  margin: 0 0 16px;
}
.jev-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.jev-signal > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  font-size: 11px;
  color: #536482;
}
.jev-signal strong {
  font-weight: 600;
  color: #243b65;
}
.jev-track {
  height: 5px;
  border-radius: 5px;
  background: #e1e7f3;
  overflow: hidden;
  margin-top: 7px;
}
.jev-track span {
  display: block;
  height: 100%;
  background: #4877f5;
  border-radius: inherit;
  transition: width 160ms;
}
.jev-signal[data-signal="refusal"] .jev-track span,
.jev-signal[data-signal="opt_out"] .jev-track span {
  background: #c07769;
}
.jev-note,
.jev-meta {
  font-size: 10px;
  line-height: 1.6;
  color: #73819b;
  margin: 12px 0 0;
}
.jev-quote {
  margin-top: 14px;
  border-left: 2px solid #99afe0;
  padding-left: 10px;
}
.jev-quote > span {
  font-size: 10px;
  color: #657694;
}
.jev-quote p {
  font-size: 12px;
  line-height: 1.6;
  margin: 5px 0 0;
  max-height: 80px;
  overflow: auto;
  overflow-wrap: anywhere;
}
.jev-quote.stale {
  border-color: #c7b48a;
}
.jev-reply {
  border-color: #6384e3;
}
@media (prefers-reduced-motion: reduce) {
  .jev-track span {
    transition: none;
  }
}
.small {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.offer {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.offer h2 {
  font-size: 19px;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.offer p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: #64718a;
  margin: 0;
}
.audio-box label {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.audio-box audio {
  width: 100%;
  height: 38px;
  margin-bottom: 12px;
}
.audio-box .upload {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: #315de9;
  font-weight: 500;
  gap: 10px;
}
.upload span {
  color: #8d98aa;
  font-size: 10px;
}
.audio-box p.small {
  font-size: 10px !important;
  line-height: 1.5 !important;
}
.testing {
  margin: 22px 0 36px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  min-height: 35px;
  padding: 10px 0;
}
.testing-body {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #344563;
}
.manual {
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 8px;
}
.manual h3 {
  font-size: 14px;
  color: #344563;
}
.manual p {
  line-height: 1.7;
}
.manual-controls {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  max-width: 600px;
}
.manual-controls label {
  font-size: 12px;
}
.manual-controls textarea {
  background: #f8faff;
  border: 1px solid #d9e0ef;
  border-radius: 8px;
  width: 100%;
  padding: 12px;
  resize: vertical;
  line-height: 1.6;
}
.manual-controls button {
  justify-self: start;
}
.history {
  padding: 2px 0 15px;
}
.history .eyebrow {
  font-size: 10px;
  margin-bottom: 8px;
}
.history h2 {
  font-size: 20px;
}
.history-actions {
  display: flex;
  gap: 18px;
}
.text-button {
  background: none;
  border: 0;
  color: #315de9;
  padding: 9px 0;
  min-height: 40px;
  font-size: 11px;
}
.muted {
  color: #8b95a7;
}
.empty {
  padding: 27px 0;
  color: #929eb2;
  font-size: 13px;
}
.history-row {
  display: grid;
  grid-template-columns: 140px 130px 1fr 95px;
  gap: 18px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.7;
}
.history-row .reply {
  color: #65728a;
  overflow-wrap: anywhere;
}
.outcome {
  font-weight: 600;
}
.history-row time,
.history-row .duration {
  color: #8490a6;
}
.tag {
  font-size: 9px;
  display: block;
  color: #8d97ab;
}
footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 22px;
  color: #9aa4b6;
  font-size: 10px;
  line-height: 1.6;
}
@media (min-width: 1000px) {
  .intro {
    position: relative;
  }
  .intro:after {
    content: "30";
    position: absolute;
    right: 28px;
    top: -10px;
    font-size: 148px;
    line-height: 1;
    letter-spacing: -10px;
    color: #e8edf7;
    font-weight: 650;
    z-index: -1;
  }
}
@media (max-width: 760px) {
  .top {
    height: 72px;
    padding: 0 20px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-note {
    font-size: 12px;
  }
  .local {
    font-size: 10px;
  }
  main {
    padding: 32px 20px 22px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .lead {
    font-size: 14px;
  }
  .desktop {
    display: none;
  }
  .intro {
    margin-bottom: 28px;
  }
  .steps {
    gap: 10px;
    justify-content: space-between;
    font-size: 10px;
  }
  .steps span {
    gap: 4px;
  }
  .steps i {
    display: none;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .call-card {
    min-height: 420px;
    padding: 22px;
  }
  .transcript-card {
    min-height: 300px;
    padding: 22px;
  }
  .transcript {
    font-size: 22px;
    padding-top: 24px;
  }
  .offer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0;
  }
  .offer p:not(.eyebrow) {
    font-size: 13px;
  }
  .history .section-head {
    align-items: start;
    flex-direction: column;
  }
  .history-actions {
    gap: 24px;
  }
  .history-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
  }
  .history-row .reply {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .history-row .duration {
    text-align: right;
  }
  .history-row time {
    font-size: 11px;
  }
  .primary {
    min-width: 210px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .brand-note {
    padding-left: 9px;
  }
  .local {
    max-width: 98px;
    text-align: right;
  }
}
.provider-select {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #344563;
}
.provider-select select {
  min-height: 40px;
  border: 1px solid #d9e0ef;
  border-radius: 8px;
  padding: 8px;
  background: white;
  color: #344563;
  font: inherit;
}
