:root {
  --elderberry-wine: #7e176b;
  --deep-fig: #4a203b;
  --warm-bone: #f4efe7;
  --limestone: #d1c6bf;
  --clay-ochre: #b8683d;
  --olive-ash: #7f906a;
  --mist-sage: #ccd9c1;
  --dusk-blue: #50596e;
  --ink: #292827;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--warm-bone);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(100vh, 980px);
  align-items: center;
  padding: clamp(20px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 239, 231, 0.98) 0%, rgba(244, 239, 231, 0.91) 42%, rgba(244, 239, 231, 0.42) 74%),
    linear-gradient(180deg, rgba(209, 198, 191, 0.18), rgba(80, 89, 110, 0.27)),
    url("assets/hbeu-generated-seedling-hero.png") center right / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(204, 217, 193, 0.22), transparent 31%),
    linear-gradient(180deg, transparent 58%, rgba(74, 32, 59, 0.12));
  mix-blend-mode: multiply;
}

.content {
  position: relative;
  width: min(100%, 760px);
  padding-block: clamp(16px, 3vw, 40px);
}

.brand-logo-frame {
  position: relative;
  width: min(224px, 66vw);
  aspect-ratio: 236 / 113;
  overflow: hidden;
}

.brand-logo {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: calc(500 / 236 * 100%);
  height: 100%;
  max-width: none;
}

.status {
  width: fit-content;
  margin: clamp(24px, 5vw, 52px) 0 0;
  padding-top: 12px;
  border-top: 3px solid var(--elderberry-wine);
  color: var(--deep-fig);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--deep-fig);
  font-size: clamp(2.45rem, 4.3vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.headline-support {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(1.32rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
}

.intro {
  max-width: 690px;
  margin-top: clamp(24px, 3vw, 34px);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 500;
  line-height: 1.58;
}

.intro p {
  margin: 0;
}

.intro p + p {
  margin-top: 1.05rem;
}

.coming-soon {
  color: var(--deep-fig);
  font-weight: 800;
}

.signup-placeholder {
  max-width: 560px;
  margin-top: clamp(24px, 4vw, 38px);
}

.signup-placeholder p {
  margin: 0;
  color: var(--deep-fig);
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.form-row span,
.form-row strong {
  min-height: 54px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.form-row span {
  border: 1px solid rgba(80, 89, 110, 0.28);
  color: rgba(41, 40, 39, 0.58);
  background: rgba(244, 239, 231, 0.88);
  font-weight: 500;
}

.form-row strong {
  color: var(--warm-bone);
  background: var(--elderberry-wine);
  font-weight: 800;
}

.editorial-section,
.site-footer {
  position: relative;
  padding: clamp(56px, 8vw, 108px) clamp(22px, 4vw, 56px);
}

.editorial-section {
  background:
    linear-gradient(180deg, rgba(244, 239, 231, 1), rgba(244, 239, 231, 0.9) 46%, rgba(209, 198, 191, 0.32)),
    var(--warm-bone);
}

.site-footer {
  padding-block: 28px;
  color: rgba(244, 239, 231, 0.84);
  background: var(--deep-fig);
}

.editorial-inner {
  width: min(100%, 860px);
  margin-inline: auto;
}

.text-block {
  position: relative;
}

.text-block + .text-block {
  margin-top: clamp(46px, 6vw, 78px);
}

.section-kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 0 0;
  border-top: 3px solid var(--elderberry-wine);
  color: var(--elderberry-wine);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-block,
.site-footer {
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  font-weight: 500;
  line-height: 1.66;
}

.text-block p,
.site-footer p {
  margin: 0;
}

.text-block p + p {
  margin-top: 1.05rem;
}

.lead {
  color: var(--deep-fig);
  font-size: clamp(1.34rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.24;
  text-wrap: balance;
}

ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 20px;
}

li::before {
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--elderberry-wine);
  content: "";
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--warm-bone);
  background: var(--elderberry-wine);
  font-weight: 800;
  text-decoration: none;
}

.founders-section {
  padding-top: clamp(10px, 2vw, 22px);
}

.founders-portrait {
  margin: 0 0 clamp(28px, 5vw, 48px);
  border: 1px solid rgba(80, 89, 110, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(209, 198, 191, 0.28);
  box-shadow: 0 22px 70px rgba(74, 32, 59, 0.08);
}

.founders-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 44%;
}

.founders-lead {
  max-width: 780px;
}

.founder-bios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 52px);
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid rgba(80, 89, 110, 0.18);
}

.founder-bio h2 {
  margin: 0;
  color: var(--deep-fig);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.founder-role {
  margin-top: 10px !important;
  color: var(--elderberry-wine);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.founder-role + p {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding: 22px;
    background:
      linear-gradient(180deg, rgba(244, 239, 231, 0.38) 0%, rgba(244, 239, 231, 0.92) 42%, rgba(244, 239, 231, 0.99) 100%),
      linear-gradient(180deg, rgba(209, 198, 191, 0.08), rgba(80, 89, 110, 0.22)),
      url("assets/hbeu-generated-seedling-hero.png") center top / cover no-repeat;
  }

  .content {
    width: 100%;
    max-width: 346px;
    padding-top: clamp(132px, 20vh, 220px);
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .headline-support {
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
  }

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

  .form-row strong {
    justify-content: center;
  }

  .editorial-section {
    padding-block: 48px;
  }

  .text-block + .text-block {
    margin-top: 44px;
  }

  .founder-bios {
    grid-template-columns: 1fr;
  }
}

/* Brevo signup form override */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signup-placeholder .brevo-signup,
.signup-placeholder .sib-form,
.signup-placeholder .sib-form-container,
.signup-placeholder #sib-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
  font-family: "Montserrat", Arial, sans-serif;
}

.signup-placeholder .brevo-signup {
  margin-top: 14px;
}

.signup-placeholder .brevo-container {
  width: 100%;
  max-width: none;
}

.signup-placeholder .brevo-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.signup-placeholder .sib-form-block,
.signup-placeholder .sib-input,
.signup-placeholder .sib-optin {
  padding: 0;
}

.signup-placeholder .entry__field {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.signup-placeholder .brevo-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(80, 89, 110, 0.28);
  border-radius: 4px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(244, 239, 231, 0.88);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  outline: none;
}

.signup-placeholder .brevo-input::placeholder {
  color: rgba(41, 40, 39, 0.58);
  font-family: "Montserrat", Arial, sans-serif;
}

.signup-placeholder .brevo-input:focus {
  border-color: var(--elderberry-wine);
  box-shadow: 0 0 0 3px rgba(126, 23, 107, 0.12);
}

.signup-placeholder .brevo-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 18px;
  color: var(--warm-bone);
  background: var(--elderberry-wine);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.signup-placeholder .brevo-submit:hover {
  background: var(--deep-fig);
}

.signup-placeholder .brevo-submit:active {
  transform: translateY(1px);
}

.signup-placeholder .brevo-submit svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: currentColor;
}

.signup-placeholder .brevo-consent {
  margin-top: 12px;
}

.signup-placeholder .brevo-consent-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  color: rgba(41, 40, 39, 0.74);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.signup-placeholder .brevo-consent-label .input_replaced {
  position: absolute;
  opacity: 0;
}

.signup-placeholder .checkbox {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid rgba(80, 89, 110, 0.38);
  border-radius: 3px;
  background: rgba(244, 239, 231, 0.88);
}

.signup-placeholder .brevo-consent-label input:checked + .checkbox {
  border-color: var(--elderberry-wine);
  background: var(--elderberry-wine);
  box-shadow: inset 0 0 0 3px rgba(244, 239, 231, 0.92);
}

.signup-placeholder .brevo-specification {
  display: block;
  margin-top: 7px;
  color: rgba(41, 40, 39, 0.52);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
}

.signup-placeholder .brevo-field-error {
  display: block;
  margin-top: 7px;
  border: 0;
  border-radius: 4px;
  color: #661d1d;
  background: transparent;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.signup-placeholder .brevo-message {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  border-radius: 4px;
  padding: 12px 14px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.signup-placeholder .brevo-message--error {
  border: 1px solid rgba(102, 29, 29, 0.22);
  color: #661d1d;
  background: rgba(255, 237, 237, 0.88);
}

.signup-placeholder .brevo-message--success {
  border: 1px solid rgba(8, 82, 41, 0.22);
  color: #085229;
  background: rgba(231, 250, 240, 0.88);
}

@media (max-width: 900px) {
  .signup-placeholder .brevo-fields {
    grid-template-columns: 1fr;
  }

  .signup-placeholder .brevo-submit {
    width: 100%;
  }
}


/* Footer links */
.site-footer-inner {
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(244, 239, 231, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Privacy policy page */
.policy-page {
  background:
    radial-gradient(circle at 82% 0%, rgba(204, 217, 193, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(244, 239, 231, 1), rgba(209, 198, 191, 0.24));
}

.policy-header {
  padding: clamp(20px, 4vw, 42px) clamp(22px, 4vw, 56px) 0;
}

.policy-header-inner {
  display: flex;
  width: min(100%, 960px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.policy-logo-link {
  display: inline-block;
  text-decoration: none;
}

.back-link {
  color: var(--elderberry-wine);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-section {
  padding: clamp(42px, 7vw, 86px) clamp(22px, 4vw, 56px) clamp(64px, 8vw, 108px);
}

.policy-card {
  width: min(100%, 960px);
  margin-inline: auto;
  border: 1px solid rgba(80, 89, 110, 0.16);
  border-radius: 10px;
  padding: clamp(26px, 5vw, 64px);
  background: rgba(244, 239, 231, 0.86);
  box-shadow: 0 22px 80px rgba(74, 32, 59, 0.08);
}

.policy-card h1 {
  margin-top: 0;
}

.policy-date {
  margin: 16px 0 clamp(34px, 5vw, 54px);
  color: rgba(41, 40, 39, 0.66);
  font-size: 0.95rem;
  font-weight: 700;
}

.policy-card h2 {
  margin: clamp(34px, 5vw, 52px) 0 14px;
  color: var(--deep-fig);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.22;
}

.policy-card h3 {
  margin: 24px 0 10px;
  color: var(--elderberry-wine);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-card p,
.policy-card li {
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 500;
  line-height: 1.7;
}

.policy-card p {
  margin: 0;
}

.policy-card p + p {
  margin-top: 1rem;
}

.policy-card a {
  color: var(--elderberry-wine);
  font-weight: 700;
}

.policy-card strong {
  color: var(--deep-fig);
}

.policy-card ul {
  margin-top: 12px;
  margin-bottom: 20px;
}

@media (max-width: 760px) {
  .policy-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-card {
    border-radius: 6px;
  }
}
