:root {
  --bcf-dark: #142414;
  --bcf-green: #4a7c44;
  --bcf-gold: #c9a84c;
  --bcf-light: #f7f9f5;
  --bcf-mint: #dcefd8;
  --bcf-border: #98ad96;
}

.bcf,
.bcf * {
  box-sizing: border-box;
}

.bcf {
  color: var(--bcf-dark);
  font-family: inherit;
}

.bcf button,
.bcf input,
.bcf textarea,
.bcf select {
  font-family: inherit !important;
}

.bcf__launcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.bcf .bcf__pill,
.bcf .bcf__submit,
.bcf .bcf__action {
  appearance: none !important;
  border: 1px solid var(--bcf-green) !important;
  border-radius: 999px !important;
  background-color: var(--bcf-green) !important;
  background-image: none !important;
  color: #fff !important;
  padding: 15px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: 0.25s ease;
}

.bcf .bcf__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bcf .bcf__pill:hover,
.bcf .bcf__submit:hover,
.bcf .bcf__action:hover {
  background-color: var(--bcf-dark) !important;
  border-color: var(--bcf-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.bcf .bcf__pill--outline,
.bcf .bcf__action--secondary {
  background-color: var(--bcf-gold) !important;
  border-color: var(--bcf-gold) !important;
  color: var(--bcf-dark) !important;
}

.bcf__content {
  position: relative;
  width: 100%;
  margin: 24px 0;
  scroll-margin-top: 100px;
  animation: bcf-in 0.4s ease;
}

.bcf__content[hidden] {
  display: none !important;
}

.bcf__shell {
  width: 100%;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--bcf-mint);
  border-radius: 16px;
  background: var(--bcf-light);
  box-shadow: 0 20px 55px rgba(20, 36, 20, 0.08);
}

.bcf__header {
  margin-bottom: 30px;
  text-align: center;
}

.bcf__page-intro {
  max-width: 920px;
  margin: 0 auto 28px;
}

.bcf__eyebrow {
  color: var(--bcf-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bcf__header h2 {
  margin: 8px 0 14px;
  color: var(--bcf-dark);
  font-family: inherit;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
}

.bcf__header > p:last-child {
  color: #526052;
}

.bcf__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.bcf__benefits > div {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 18px;
  border: 1px solid var(--bcf-mint);
  border-radius: 16px;
  background: #fff;
}

.bcf__benefits > div:last-child {
  grid-column: 1 / -1;
}

.bcf__benefits strong {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--bcf-mint);
  color: var(--bcf-green);
  font-size: 12px;
}

.bcf__benefits span {
  line-height: 1.5;
}

.bcf__condition,
.bcf__sponsor {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
  line-height: 1.6;
}

.bcf__condition {
  color: #667266;
  font-size: 12px;
}

.bcf__sponsor {
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--bcf-mint);
}

.bcf__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.bcf__success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.bcf .bcf__action {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}

.bcf__tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bcf-mint);
}

.bcf__tabs button {
  padding: 11px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bcf-dark) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  cursor: pointer;
}

.bcf__tabs button.is-active {
  background: var(--bcf-green) !important;
  color: #fff !important;
}

.bcf__panel {
  display: none;
  animation: bcf-in 0.35s ease;
}

.bcf__panel.is-active {
  display: block;
}

.bcf form {
  max-width: 720px;
  margin: auto;
}

.bcf label {
  display: block;
  margin: 0 0 18px;
  color: var(--bcf-dark);
  font-size: 13px;
  font-weight: 600;
}

.bcf input.form-control,
.bcf textarea.form-control {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin-top: 8px !important;
  padding: 14px 15px !important;
  border: 1px solid var(--bcf-mint) !important;
  border-radius: 10px !important;
  outline: 0 !important;
  background-color: var(--bcf-light) !important;
  background-image: none !important;
  color: var(--bcf-dark) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  box-shadow: 0 1px 2px rgba(20, 36, 20, 0.04) !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bcf input.form-control[readonly] {
  background-color: #edf3eb !important;
  color: #526052 !important;
}

.bcf textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.bcf input.form-control:hover,
.bcf textarea.form-control:hover,
.bcf input.form-control:focus,
.bcf textarea.form-control:focus {
  border-color: var(--bcf-green) !important;
}

.bcf input.form-control:focus,
.bcf textarea.form-control:focus {
  box-shadow: 0 0 0 3px rgba(74, 124, 68, 0.16) !important;
}

.bcf input.form-control::placeholder,
.bcf textarea.form-control::placeholder {
  color: #879386;
  opacity: 1;
}

.bcf__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bcf__products {
  display: grid;
  gap: 12px;
  margin: 6px 0 22px;
}

.bcf fieldset {
  padding: 18px;
  border: 1px solid var(--bcf-mint) !important;
  border-radius: 16px;
  background: #fff;
}

.bcf legend {
  padding: 0 8px;
  color: var(--bcf-dark);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
}

.bcf__product-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 12px;
}

.bcf__product-grid label {
  margin: 0;
}

.bcf__consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  line-height: 1.5;
}

.bcf__consent input {
  appearance: auto !important;
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
}

.bcf .bcf__submit {
  display: flex !important;
  width: 100% !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px !important;
}

.bcf .bcf__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.bcf .bcf__submit.is-loading span {
  display: none;
}

.bcf .bcf__submit.is-loading::after {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: bcf-spin 0.75s linear infinite;
}

.bcf__feedback {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.bcf__feedback.is-error,
.bcf__code-message.is-error {
  color: #a22222;
}

.bcf__code-field {
  position: relative;
}

.bcf__validated {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--bcf-green);
  color: #fff;
  font-size: 13px;
}

.bcf__validated[hidden] {
  display: none;
}

.bcf__code-message {
  display: block;
  min-height: 18px;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 500;
}

.bcf__code-message.is-valid {
  color: var(--bcf-green);
}

.bcf__code-message.is-loading::before {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  border: 2px solid var(--bcf-mint);
  border-top-color: var(--bcf-green);
  border-radius: 50%;
  content: "";
  animation: bcf-spin 0.75s linear infinite;
}

.bcf form.is-complete > :not(.bcf__success) {
  display: none !important;
}

.bcf__success {
  padding: 28px 12px;
  text-align: center;
  animation: bcf-in 0.35s ease;
}

.bcf__success[hidden] {
  display: none;
}

.bcf__success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bcf-green);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.bcf__success h3 {
  margin: 0 0 12px;
  color: var(--bcf-dark);
  font-family: inherit;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.bcf__success-code {
  display: block;
  width: max-content;
  margin: 16px auto;
  padding: 14px 28px;
  border: 1px solid var(--bcf-mint);
  border-radius: 12px;
  background: #fff;
  color: var(--bcf-green);
  font-size: 28px;
  letter-spacing: 0.06em;
}

.bcf__success p {
  max-width: 560px;
  margin: 14px auto 0;
  line-height: 1.7;
}

.bcf__rules {
  max-width: 720px;
  margin: auto;
}

.bcf__rules h3 {
  font-family: inherit;
  font-size: 34px;
  font-weight: 700;
}

.bcf__rules h4 {
  margin: 25px 0 5px;
  color: var(--bcf-green);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
}

.bcf__rules p {
  line-height: 1.7;
}

.bcf__trap {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

@keyframes bcf-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bcf-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 680px) {
  .bcf__shell {
    padding: 34px 18px;
    border-radius: 16px;
  }

  .bcf__grid,
  .bcf__product-grid,
  .bcf__benefits {
    grid-template-columns: 1fr;
  }

  .bcf__benefits > div:last-child {
    grid-column: auto;
  }

  .bcf__tabs {
    width: 100%;
    justify-content: flex-start;
    overflow: auto;
  }

  .bcf__tabs button {
    white-space: nowrap;
  }

  .bcf__launcher,
  .bcf__actions,
  .bcf__success-actions {
    display: grid;
  }

  .bcf .bcf__pill,
  .bcf .bcf__action {
    width: 100% !important;
  }
}
