:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #1b1d1f;
  --muted: #626a70;
  --line: #d8ddd7;
  --red: #c7362f;
  --blue: #1f5f8b;
  --green: #287a58;
  --shadow: 0 18px 44px rgba(31, 42, 48, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.call-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 36px 0;
}

.call-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.back-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 34px;
  align-items: center;
  margin-top: 26px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 20px;
}

.call-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--red);
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.status {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f9faf7;
  font-weight: 700;
}

.script-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
}

.script-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.script-card h2 {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.12;
}

.script-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.script-card li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.script-card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.owner-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.preview-heading span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-heading h2 {
  max-width: 420px;
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.1;
}

.lead-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
}

.lead-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.lead-card-top strong {
  font-size: 18px;
}

.lead-card-top span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 16px 0 0;
}

.lead-card dl div {
  min-width: 0;
}

.lead-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-card dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 900;
}

.lead-card p {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 800px) {
  .call-shell {
    align-items: start;
  }

  .panel-grid,
  .owner-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .call-shell {
    width: min(100% - 24px, 1120px);
    padding: 18px 0;
  }

  .call-panel,
  .script-card {
    padding: 20px;
  }

  h1 {
    font-size: 42px;
  }

  .call-actions,
  button {
    width: 100%;
  }

  .lead-card dl {
    grid-template-columns: 1fr;
  }
}
