:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #62716a;
  --line: #dce5df;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --mint: #1f8a70;
  --mint-dark: #12624f;
  --coral: #e5684f;
  --gold: #d9a441;
  --sky: #437fc7;
  --shadow: 0 18px 60px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 252, 248, 0.88);
  border-bottom: 1px solid rgba(220, 229, 223, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-logo,
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.84fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 69px);
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 64px) 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.controls,
.save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-note {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.button,
.icon-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--mint);
  color: #fff;
}

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

.button.secondary,
.icon-button {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.icon-button {
  width: 44px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
}

.product-shot {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(31, 138, 112, 0.11), rgba(229, 104, 79, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.shot-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.shot-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.shot-toolbar span:nth-child(2) {
  background: var(--gold);
}

.shot-toolbar span:nth-child(3) {
  background: var(--mint);
}

.shot-toolbar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.shot-grid {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.lead {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.lead span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #eef5f1;
  color: var(--mint-dark);
  font-weight: 800;
}

.lead em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.lead.active {
  border-color: rgba(31, 138, 112, 0.38);
  box-shadow: 0 12px 26px rgba(31, 138, 112, 0.12);
}

.call-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.call-card p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.call-card strong {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0;
}

.wave {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 44px;
  margin-top: 22px;
}

.wave span {
  width: 18px;
  border-radius: 8px 8px 0 0;
  background: var(--mint);
  animation: pulse 1.1s ease-in-out infinite;
}

.wave span:nth-child(1) { height: 22px; }
.wave span:nth-child(2) { height: 38px; animation-delay: 110ms; background: var(--gold); }
.wave span:nth-child(3) { height: 30px; animation-delay: 220ms; background: var(--coral); }
.wave span:nth-child(4) { height: 44px; animation-delay: 330ms; background: var(--sky); }

@keyframes pulse {
  50% { transform: scaleY(0.58); opacity: 0.7; }
}

.app-shell,
.content-band,
.seo-copy {
  padding: 72px clamp(18px, 5vw, 64px);
}

.dialer-page {
  min-height: 100vh;
  background: #f8faf6;
}

.dialer-minimal {
  min-height: calc(100vh - 69px);
}

.app-topbar {
  position: static;
}

.connect-screen {
  display: grid;
  min-height: calc(100vh - 69px);
  place-items: center;
  padding: 24px;
}

.connect-card {
  display: grid;
  width: min(100%, 420px);
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 40px rgba(23, 33, 29, 0.06);
}

.connect-card h1 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.05;
}

.dialer-board {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto auto auto;
  align-content: start;
}

.dialer-board-top {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 58px;
  margin: 0 auto;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.status-pill,
.csv-pill,
.agent-phone-pill,
.dropdown-button,
.refresh-button,
.plain-action {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
}

.status-pill[data-status="ready"] .status-dot {
  background: #13a36f;
}

.status-pill[data-status="connecting"] .status-dot {
  background: var(--gold);
}

.status-pill[data-status="error"] .status-dot {
  background: var(--coral);
}

.csv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.agent-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.caller-id-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.csv-pill::before {
  content: "▤";
  color: var(--muted);
}

.csv-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.agent-phone-pill input {
  width: 170px;
  min-height: 34px;
  border: 0;
  padding: 7px 30px 7px 9px;
  box-shadow: none;
}

.caller-id-input-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.caller-id-input-wrap:focus-within {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.15);
}

.refresh-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
}

.refresh-button:hover {
  color: var(--ink);
  border-color: rgba(31, 138, 112, 0.35);
}

.dropdown-button {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 30px;
  height: 100%;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.dropdown-button:hover {
  color: var(--ink);
}

.caller-id-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 40px;
  z-index: 20;
  display: grid;
  width: 280px;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 33, 29, 0.14);
}

.caller-id-option {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.caller-id-option:hover,
.caller-id-option.is-active {
  background: #f3f8f4;
}

.caller-id-option span,
.caller-id-empty {
  color: var(--muted);
  font-size: 12px;
}

.caller-id-empty {
  padding: 10px;
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.queue-progress {
  justify-self: center;
  color: var(--ink);
  font-weight: 800;
}

.plain-action {
  justify-self: end;
  color: var(--muted);
}

.connection-popover {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 10px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(23, 33, 29, 0.06);
}

.connection-popover p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

form,
.call-fields {
  display: grid;
  gap: 14px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

input[type="file"] {
  padding: 9px;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.field-row .button {
  min-height: 42px;
}

.file-drop {
  padding: 14px;
  border: 1px dashed rgba(31, 138, 112, 0.45);
  border-radius: 8px;
  background: #f7faf5;
}

.hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.15);
}

.caller-id-input-wrap input:focus {
  box-shadow: none;
}

.dialer-board-body {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  width: min(1180px, calc(100% - 48px));
  min-height: 620px;
  margin: 22px auto 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(23, 33, 29, 0.07);
}

.lead-rail {
  min-height: auto;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: #fcfdf9;
}

.queue-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.queue-toolbar > :first-child {
  margin-right: auto;
}

.queue-add-button {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: 1px dashed rgba(31, 138, 112, 0.32);
  border-radius: 8px;
  background: transparent;
  color: var(--mint-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.queue-add-button:hover {
  border-color: rgba(31, 138, 112, 0.35);
  background: #f7faf5;
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.toggle-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 34px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #e8eee9;
  transition: background 160ms ease, border-color 160ms ease;
}

.toggle-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 33, 29, 0.2);
  content: "";
  transition: transform 160ms ease;
}

.toggle-pill input:checked + .toggle-track {
  border-color: var(--mint);
  background: var(--mint);
}

.toggle-pill input:checked + .toggle-track::after {
  transform: translateX(14px);
}

.toggle-pill input:focus-visible + .toggle-track {
  outline: 2px solid rgba(31, 138, 112, 0.3);
  outline-offset: 2px;
}

.tooltip-wrap {
  position: relative;
}

.tooltip-bubble {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  width: 230px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 32px rgba(23, 33, 29, 0.16);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.tooltip-wrap:hover .tooltip-bubble,
.toggle-pill:focus-within .tooltip-bubble {
  opacity: 1;
  transform: translateY(0);
}

.lead-list {
  display: grid;
  gap: 8px;
}

.queue-empty {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px dashed rgba(31, 138, 112, 0.32);
  border-radius: 8px;
  background: #fff;
}

.queue-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.empty-actions {
  display: grid;
  gap: 8px;
}

.empty-actions .button {
  width: 100%;
}

.lead-row {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px 10px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.lead-row span {
  color: var(--muted);
  font-size: 13px;
}

.lead-row.is-active {
  border-left-color: var(--mint);
  background: #f7faf5;
}

.lead-row.is-done {
  opacity: 0.58;
}

.call-workspace {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 28px;
  min-height: auto;
  padding: clamp(34px, 5vw, 64px);
}

.call-person {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.call-person h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.call-person a {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 760;
}

.lead-info {
  display: grid;
  gap: 10px;
  width: min(100%, 560px);
  margin-top: 8px;
}

.lead-info > strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  text-align: left;
}

.lead-details div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.lead-details dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-details dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.lead-notes {
  display: grid;
  gap: 6px;
  text-align: left;
}

.lead-notes span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-notes p {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 33, 29, 0.32);
}

.modal-panel {
  display: grid;
  width: min(100%, 520px);
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 33, 29, 0.22);
}

.modal-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.modal-heading h2 {
  margin: 0;
  font-size: 28px;
}

.modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modal-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
}

.call-fields {
  width: min(100%, 540px);
  grid-template-columns: 1fr;
  align-items: stretch;
}

.call-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

#callTimer {
  min-width: 62px;
  font-size: 26px;
  font-weight: 760;
}

.call-button {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  padding: 24px;
}

.workflow-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
}

.workflow-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: #fff;
  font-weight: 850;
}

.feature-grid p,
.seo-copy p {
  color: var(--muted);
}

.seo-copy {
  max-width: calc(100% - clamp(36px, 10vw, 128px));
  margin: 0 auto 72px;
  padding: 32px;
}

.audience-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  padding-left: 18px;
  border-left: 3px solid var(--mint);
  color: var(--ink);
  font-size: 18px;
  font-weight: 720;
}

.pricing-copy {
  border-top: 1px solid var(--line);
}

.pricing-copy .hero-actions {
  margin-top: 22px;
}

.policy-page {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.policy-page h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.policy-page h2 {
  margin-top: 36px;
  font-size: 24px;
}

.policy-page p {
  color: var(--muted);
}

.blog-page,
.blog-post {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.blog-hero {
  margin-bottom: 36px;
}

.blog-hero h1,
.blog-post h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.blog-list {
  display: grid;
  gap: 16px;
}

.blog-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.blog-card > p:first-child,
.blog-back {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.blog-card h2 {
  margin: 0;
  font-size: 28px;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags span {
  padding: 5px 8px;
  border-radius: 8px;
  background: #eef5f1;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 760;
}

.blog-post article {
  display: grid;
  gap: 30px;
}

.blog-back {
  display: inline-flex;
  margin-bottom: 24px;
}

.post-body {
  display: grid;
  gap: 18px;
  color: var(--ink);
  font-size: 18px;
}

.post-body h2 {
  margin: 20px 0 0;
  font-size: 34px;
}

.post-body h3 {
  margin: 14px 0 0;
  font-size: 24px;
}

.post-body p,
.post-body li {
  color: var(--muted);
}

.post-body ul,
.post-body ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
}

.post-body pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .workspace,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .product-shot {
    min-height: 460px;
  }

  .dialer-board-body {
    grid-template-columns: 1fr;
  }

  .lead-rail {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lead-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    overflow-x: auto;
  }
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .dialer-board-top,
  .connection-popover,
  footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .dialer-board-top,
  .connection-popover,
  .dialer-board-body {
    width: min(100% - 24px, 1180px);
  }

  .call-fields {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .queue-progress,
  .plain-action {
    justify-self: start;
  }

  .product-shot {
    min-height: 420px;
  }
}
