@font-face {
  font-family: Inter;
  src: url("/static/fonts/InterVariable.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14171c;
  --muted: #5e6670;
  --line: #e6e8ec;
  --blue: #1a56f0;
  --press: #1446c8;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-weight: 400;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--muted);
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

h1 {
  margin: 8px 0 0;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lede {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.talk {
  margin-top: 36px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: white;
  font: 600 18px Inter, sans-serif;
  cursor: pointer;
}

.talk:active { background: var(--press); }
.talk.live { background: var(--ink); }

.status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--muted);
}

.meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.meter-value, .cost-value {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.meter-unit, .cost-unit, .hops {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hops { align-self: center; }

.transcript, .phone {
  margin-top: 40px;
}

h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lines {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 220px;
  padding: 16px 18px;
}

.empty { margin: 0; color: var(--muted); }

.line { margin: 0 0 12px; }
.line strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
}

.phone form {
  display: flex;
  gap: 12px;
  align-items: end;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

input, select {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: 400 16px Inter, sans-serif;
  color: var(--ink);
  background: white;
  min-width: 220px;
}

input:disabled { color: var(--muted); background: #fafbfc; }

button[type="submit"] {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font: 600 15px Inter, sans-serif;
  cursor: pointer;
}

button[type="submit"]:disabled {
  background: #c5cad3;
  cursor: not-allowed;
}

.hint { color: var(--muted); font-size: 14px; }

.caller {
  margin-top: 18px;
  color: var(--muted);
}

.caller summary { cursor: pointer; }
.caller label { margin-top: 12px; max-width: 360px; }
.caller input, .caller select { width: 100%; }

@media (max-width: 720px) {
  .bar { padding: 0 16px; }
  h1 { font-size: 40px; }
  .meter { grid-template-columns: 1fr; gap: 16px; }
  .phone form { flex-direction: column; align-items: stretch; }
  input { min-width: 0; width: 100%; }
}
