/* Growth financing — two-step apply wizard */

body.cp-body--growth-apply {
  background: #f3f4f6;
  font-family: var(--cp-font-primary, "Inter", system-ui, -apple-system, sans-serif);
  -webkit-font-smoothing: antialiased;
}

body.cp-body--growth-apply .cp-page--growth-apply {
  padding: 28px 16px 40px;
  min-height: calc(100dvh - 72px);
  box-sizing: border-box;
}

.cp-growth-apply {
  width: min(560px, 100%);
  margin: 0 auto;
}

.cp-growth-apply__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 28px 28px 24px;
}

.cp-growth-apply__header {
  text-align: center;
  margin-bottom: 22px;
}

.cp-growth-apply__tag {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-orange, #ef4c04);
}

.cp-growth-apply__header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: #0d1117;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cp-growth-apply__lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: #6b7280;
}

.cp-growth-apply__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0 0 26px;
  padding: 0 12px;
}

.cp-growth-apply__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 96px;
}

.cp-growth-apply__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cp-growth-apply__step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #9ca3af;
  text-align: center;
}

.cp-growth-apply__step.is-active .cp-growth-apply__step-num,
.cp-growth-apply__step.is-complete .cp-growth-apply__step-num {
  background: var(--cp-orange, #ef4c04);
  color: #fff;
}

.cp-growth-apply__step.is-active .cp-growth-apply__step-label {
  color: var(--cp-orange, #ef4c04);
  font-weight: 700;
}

.cp-growth-apply__step.is-complete .cp-growth-apply__step-label {
  color: #374151;
  font-weight: 600;
}

.cp-growth-apply__step-line {
  flex: 1 1 auto;
  height: 3px;
  margin: 15px 8px 0;
  border-radius: 999px;
  background: #e5e7eb;
  align-self: flex-start;
  min-width: 48px;
  max-width: 120px;
}

.cp-growth-apply__step-line.is-active {
  background: var(--cp-orange, #ef4c04);
}

.cp-growth-apply__error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.86rem;
}

.cp-growth-apply__panel[hidden] {
  display: none !important;
}

.cp-growth-apply__section-title {
  margin: 0 0 16px;
  padding-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d1117;
  border-bottom: 2px solid var(--cp-orange, #ef4c04);
}

.cp-growth-apply__label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #111827;
}

.cp-growth-apply__optional {
  font-weight: 400;
  color: #9ca3af;
}

.cp-growth-apply__control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.3;
}

.cp-growth-apply__control::placeholder {
  color: var(--cp-placeholder, #4b5563);
  opacity: 1;
}

.cp-growth-apply__control:focus {
  outline: none;
  border-color: var(--cp-orange, #ef4c04);
  box-shadow: 0 0 0 3px rgba(239, 76, 4, 0.12);
}

.cp-growth-apply__control--area {
  min-height: 110px;
  resize: vertical;
}

.cp-growth-apply__checks {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.cp-growth-apply__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #374151;
}

.cp-growth-apply__check:has(input:checked) {
  border-color: rgba(239, 76, 4, 0.45);
  background: #fff7f2;
}

.cp-growth-apply__check input {
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--cp-orange, #ef4c04);
}

.cp-growth-apply__check strong {
  color: #111827;
  font-weight: 700;
}

.cp-growth-apply__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: var(--cp-orange, #ef4c04);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cp-growth-apply__btn:hover,
.cp-growth-apply__btn:focus-visible {
  background: var(--cp-orange-hover, #d74404);
  transform: translateY(-1px);
}

.cp-growth-apply__actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 8px;
}

.cp-growth-apply__btn--ghost {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.cp-growth-apply__btn--ghost:hover,
.cp-growth-apply__btn--ghost:focus-visible {
  background: #f9fafb;
  color: #111827;
}

.cp-growth-apply__form .cp-section {
  margin: 0 0 14px;
  padding-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d1117;
  border-bottom: 2px solid var(--cp-orange, #ef4c04);
}

.cp-growth-apply__form .cp-section + label,
.cp-growth-apply__form label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #111827;
}

.cp-growth-apply__form input[type="text"],
.cp-growth-apply__form input[type="email"],
.cp-growth-apply__form input[type="tel"],
.cp-growth-apply__form input[type="number"],
.cp-growth-apply__form select,
.cp-growth-apply__form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.cp-growth-apply__form input::placeholder,
.cp-growth-apply__form textarea::placeholder {
  color: var(--cp-placeholder, #4b5563);
  opacity: 1;
}

.cp-growth-apply__form .cp-phone {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.cp-growth-apply__form .cp-phone select,
.cp-growth-apply__form .cp-phone input {
  margin-bottom: 0;
}

.cp-growth-apply__form .req {
  color: var(--cp-orange, #ef4c04);
}

@media (max-width: 560px) {
  .cp-growth-apply__card {
    padding: 22px 16px 18px;
  }

  .cp-growth-apply__actions {
    grid-template-columns: 1fr;
  }

  .cp-growth-apply__step {
    min-width: 72px;
  }
}
