.hhbps-wrap {
  --hh-green: #629647;
  --hh-green-dark: #487735;
  --hh-ink: #152116;
  --hh-muted: #667066;
  --hh-border: #dfe6dc;
  width: 100%;
  padding: clamp(28px, 5vw, 72px) 18px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 8% 8%, rgba(98, 150, 71, 0.12), transparent 32%),
    linear-gradient(180deg, #f7faf5 0%, #ffffff 100%);
}

.hhbps-wrap *,
.hhbps-wrap *::before,
.hhbps-wrap *::after {
  box-sizing: border-box;
}

.hhbps-card {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--hh-border);
  border-radius: 28px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 24px 70px rgba(28, 52, 26, 0.12);
}

.hhbps-intro {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.hhbps-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--hh-green);
  font: 700 12px/1.1 "Raleway", Arial, sans-serif;
  letter-spacing: .13em;
}

.hhbps-intro h2 {
  margin: 16px 0 8px;
  color: var(--hh-ink);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(40px, 6vw, 70px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.hhbps-book-title {
  margin: 0 auto 10px;
  color: var(--hh-green-dark);
  font: 700 clamp(18px, 2.3vw, 24px)/1.25 "Raleway", Arial, sans-serif;
}

.hhbps-subtitle,
.hhbps-privacy {
  color: var(--hh-muted);
  font-family: "Raleway", Arial, sans-serif;
}

.hhbps-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.hhbps-alert {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 12px;
  font: 600 14px/1.5 "Raleway", Arial, sans-serif;
}

.hhbps-alert--success {
  color: #215f24;
  border: 1px solid #b8ddb9;
  background: #eef9ee;
}

.hhbps-alert--error {
  color: #8a2424;
  border: 1px solid #edb8b8;
  background: #fff1f1;
}

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

.hhbps-field {
  min-width: 0;
}

.hhbps-field--full {
  grid-column: 1 / -1;
}

.hhbps-field label {
  display: block;
  margin: 0 0 7px;
  color: var(--hh-ink);
  font: 700 13px/1.35 "Raleway", Arial, sans-serif;
}

.hhbps-field label > span[aria-hidden="true"],
.hhbps-consent strong {
  color: #a92222;
}

.hhbps-field input,
.hhbps-field select,
.hhbps-field textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cfd8cb;
  border-radius: 12px;
  color: var(--hh-ink);
  background: #fff;
  box-shadow: none;
  outline: none;
  font: 500 15px/1.45 "Raleway", Arial, sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hhbps-field textarea {
  min-height: 116px;
  resize: vertical;
}

.hhbps-field input:focus,
.hhbps-field select:focus,
.hhbps-field textarea:focus {
  border-color: var(--hh-green);
  box-shadow: 0 0 0 4px rgba(98, 150, 71, .15);
}

.hhbps-field .hhbps-invalid {
  border-color: #b02b2b;
  box-shadow: 0 0 0 4px rgba(176, 43, 43, .1);
}

.hhbps-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.5;
}

.hhbps-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--hh-green);
}

.hhbps-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 24px 0 0;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
  box-shadow: 0 14px 28px rgba(72, 119, 53, .24);
  cursor: pointer;
  font: 800 15px/1 "Raleway", Arial, sans-serif;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.hhbps-submit:hover,
.hhbps-submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(72, 119, 53, .3);
  filter: brightness(1.03);
}

.hhbps-submit svg {
  width: 22px;
  height: 22px;
}

.hhbps-privacy {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.hhbps-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 700px) {
  .hhbps-wrap {
    padding: 22px 12px;
  }

  .hhbps-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .hhbps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hhbps-field--full {
    grid-column: auto;
  }

  .hhbps-intro {
    margin-bottom: 26px;
  }
}
