/* Tradesman CRM demo — extends the shared design tokens from css/style.css
   (the .tool-topbar-* classes for the header live in css/style.css, shared
   with the other standalone tool pages) */

.crm-shell {
  padding: 40px 24px 96px;
}

.crm-intro {
  max-width: 62ch;
  margin: 0 auto 32px;
  text-align: center;
}
.crm-intro .back-link,
.crm-intro .eyebrow {
  display: block;
}
.crm-intro h1 {
  font-size: 32px;
  margin: 10px 0 14px;
}
.crm-intro .lede {
  font-size: 15.5px;
  margin: 0 auto 20px;
}

.crm-frame-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-frame {
  width: 100%;
  max-width: 420px;
  height: 850px;
  background: var(--surface);
  border: 10px solid var(--text);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(23, 24, 26, 0.35);
}
.device-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.crm-frame-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.crm-frame-note a { color: var(--accent); font-weight: 500; }
.crm-frame-note a:hover { color: var(--accent-dark); }

@media (max-width: 480px) {
  .device-frame {
    height: 75vh;
    border-width: 6px;
    border-radius: 24px;
  }
}
