/* offer_terms_popover — founding customer offer (home hero), self-contained BEM */

/* Full-line control: one row on small screens, no underline, scales down to fit */
button.hero-eyebrow.hero-eyebrow--offer {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 22px;
  padding: 6px 2px;
  white-space: nowrap;
  font-family: ui-monospace, monospace;
  font-size: clamp(6px, 1.95vw, 11px);
  letter-spacing: clamp(0.05em, 0.32vw + 0.04em, 0.18em);
  text-transform: uppercase;
  color: var(--orange-deep);
  text-decoration: none;
  border: 0;
  border-top: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  background: transparent;
  cursor: pointer;
  text-align: center;
}

button.hero-eyebrow.hero-eyebrow--offer:hover {
  color: var(--ink);
  border-top-color: var(--ink);
  border-bottom-color: var(--ink);
}

button.hero-eyebrow.hero-eyebrow--offer:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.offer-terms-popover {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.offer-terms-popover--open {
  opacity: 1;
  visibility: visible;
}

.offer-terms-popover__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(17, 20, 15, 0.45);
  cursor: pointer;
}

.offer-terms-popover__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  align-self: center;
  background: #fffaf0;
  border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  padding: 22px 22px 20px;
}

@media (min-width: 600px) {
  .offer-terms-popover {
    padding: 40px 24px;
  }

  .offer-terms-popover__panel {
    padding: 28px 28px 24px;
  }
}

.offer-terms-popover__bottom-rule {
  height: 1.5px;
  background: var(--orange);
  margin: 20px 0 0;
}

.offer-terms-popover__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, monospace;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms ease, color 160ms ease, transform 80ms ease;
}

.offer-terms-popover__close:hover {
  background: var(--ink);
  color: var(--on-ink);
}

.offer-terms-popover__close:active {
  transform: translate(1px, 1px);
}

.offer-terms-popover__close:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.offer-terms-popover__title {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 44px 14px 0;
  line-height: 1.4;
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 12px;
}

.offer-terms-popover__list {
  margin: 0;
  padding-left: 1.15em;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.offer-terms-popover__list li {
  margin-bottom: 10px;
}

.offer-terms-popover__list li:last-child {
  margin-bottom: 0;
}

.offer-terms-popover__foot {
  margin-top: 18px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-terms-popover__foot a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.offer-terms-popover__foot a:hover {
  color: var(--ink);
}
