.swcf-card {
  width: min(100%, 860px);
  margin: var(--swcf-margin-top, 24px) auto 2rem !important;
  padding: clamp(20px, 4vw, 36px);
  color: var(--sw-text, #f3f8fd);
  border: 1px solid var(--sw-border, rgba(43, 151, 224, .58));
  border-radius: var(--sw-radius, 12px);
  background: linear-gradient(180deg, rgba(4, 24, 40, .97), rgba(2, 17, 29, .98));
  box-shadow: var(--sw-shadow, 0 22px 65px rgba(0, 0, 0, .38));
}

.swcf-header {
  padding: 0 !important;
  margin-bottom: 24px;
}

.swcf-header h2 {
  margin: 0 !important;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.25rem) !important;
  line-height: 1.15;
}

.swcf-card p {
  text-align: left !important;
}

.swcf-header > p:last-child {
  margin: 10px 0 0;
  color: var(--sw-muted, #a9bfd2);
}

.swcf-form {
  display: grid;
  gap: 18px;
}

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

.swcf-field {
  display: grid;
  gap: 7px;
}

.swcf-field label {
  color: #dbeaf5;
  font-size: .88rem;
  font-weight: 700;
}

.swcf-field label span,
.swcf-header p span {
  color: var(--sw-orange, #ff5e25);
}

.swcf-field input,
.swcf-field textarea {
  width: 100%;
  margin: 0;
  padding: 11px 13px;
  color: #fff;
  caret-color: #fff;
  border: 1px solid rgba(72, 166, 228, .35);
  border-radius: 8px;
  outline: none;
  background: rgba(2, 15, 26, .9);
  box-shadow: inset 0 0 18px rgba(37, 134, 201, .06);
}

.swcf-field textarea {
  min-height: 180px;
  resize: vertical;
}

.swcf-field input:focus,
.swcf-field textarea:focus {
  border-color: var(--sw-blue-2, #8bd1ff);
  box-shadow: 0 0 0 3px rgba(50, 160, 232, .14);
}

.swcf-field small {
  color: var(--sw-muted, #a9bfd2);
  font-size: .75rem;
}

.swcf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c9dce9;
  font-size: .82rem;
  line-height: 1.5;
}

.swcf-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--sw-blue, #1688d4);
}

.swcf-consent a {
  color: var(--sw-blue-2, #8bd1ff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.swcf-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding: 9px 20px;
  color: var(--sw-orange, #ff5e25);
  border: 1px solid var(--sw-orange, #ff5e25);
  border-radius: 999px;
  background: rgba(255, 94, 37, .04);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.swcf-submit:hover,
.swcf-submit:focus-visible {
  color: #fff;
  background: rgba(255, 94, 37, .16);
  box-shadow: 0 0 18px rgba(255, 94, 37, .15);
}

.swcf-submit span {
  font-size: 1.2rem;
  line-height: 1;
}

.swcf-notice {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: .9rem;
}

.swcf-notice--success {
  color: #dff8e9;
  border: 1px solid rgba(74, 190, 123, .48);
  background: rgba(40, 131, 79, .17);
}

.swcf-notice--error {
  color: #ffe5de;
  border: 1px solid rgba(255, 94, 37, .52);
  background: rgba(255, 94, 37, .12);
}

.swcf-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .swcf-card {
    padding: 18px;
  }

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

  .swcf-submit {
    width: 100%;
    justify-content: center;
  }
}
