.pilot-body {
  min-height: 100vh;
  background: #f4f6f8;
  color: #15181b;
}

.pilot-ribbon {
  padding: 9px 18px;
  background: #15181b;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.pilot-main {
  width: min(1050px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.pilot-topbar,
.pilot-section-heading,
.pilot-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pilot-topbar {
  margin-bottom: 22px;
}

.pilot-topbar h1,
.pilot-section-heading h2 {
  margin: 4px 0;
}

.pilot-topbar h1 {
  font-size: clamp(30px, 5vw, 42px);
}

.pilot-card {
  margin: 18px 0;
  padding: 24px;
  border: 1px solid #e2e5e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(17 24 39 / 5%);
}

.pilot-eyebrow {
  margin: 0;
  color: #e11d2e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pilot-muted,
.pilot-form-grid small {
  color: #69727b;
}

.pilot-branch-host,
.pilot-form-grid label {
  display: grid;
  gap: 7px;
}

.pilot-branch-host label,
.pilot-form-grid label {
  font-size: 13px;
  font-weight: 700;
}

.pilot-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.pilot-full-width {
  grid-column: 1 / -1;
}

.pilot-form-grid input,
.pilot-form-grid select,
.pilot-form-grid textarea,
.pilot-branch-host select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d6dce1;
  border-radius: 9px;
  background: #fff;
  color: #15181b;
  font: inherit;
}

.pilot-form-grid textarea {
  resize: vertical;
}

.pilot-chip {
  padding: 7px 10px;
  border-radius: 99px;
  background: #fff0f1;
  color: #c31325;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.pilot-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: #e11d2e;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.pilot-button:disabled {
  cursor: wait;
  opacity: .6;
}

.pilot-button-secondary {
  border: 1px solid #d6dce1;
  background: #fff;
  color: #20262b;
}

.pilot-message {
  min-height: 20px;
  color: #59636d;
  font-size: 13px;
}

.pilot-message[data-kind="error"] {
  color: #b42332;
}

.pilot-message[data-kind="success"] {
  color: #197347;
}

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

.pilot-lead {
  padding: 16px;
  border: 1px solid #e7eaed;
  border-radius: 11px;
  background: #fff;
}

.pilot-lead h3,
.pilot-lead p {
  margin: 0 0 7px;
}

.pilot-phone {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

@media (max-width: 680px) {
  .pilot-main {
    width: min(100% - 20px, 1050px);
    margin-top: 20px;
  }

  .pilot-card {
    padding: 17px;
  }

  .pilot-topbar,
  .pilot-section-heading,
  .pilot-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .pilot-full-width {
    grid-column: auto;
  }
}
