/* Stephuary · FounderReveal — rare floating presence, results + pricing only */

.sh-founder-reveal {
  --fr-w: clamp(160px, 16vw, 220px);
  --fr-max-h: 240px;
  --fr-bottom: 24px;
  --fr-side: 24px;
  position: fixed;
  z-index: 156;
  width: var(--fr-w);
  max-width: calc(100vw - 32px);
  max-height: min(var(--fr-max-h), calc(100vh - 48px));
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.98);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.sh-founder-reveal.sh-founder-reveal--visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.sh-founder-reveal[data-fr-anchor='right'] {
  left: auto !important;
  right: var(--fr-side);
}

.sh-founder-reveal[data-fr-minimized='true'] {
  display: none;
}

.sh-founder-reveal__inner {
  position: relative;
  padding: 10px 10px 12px;
  border-radius: 3px;
  background: linear-gradient(165deg, rgba(12, 12, 10, 0.94) 0%, rgba(6, 8, 14, 0.92) 100%);
  border: 1px solid rgba(43, 79, 212, 0.18);
  box-shadow:
    0 0 0 1px rgba(59, 13, 13, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(43, 79, 212, 0.12);
}

.sh-founder-reveal__img-wrap {
  width: 100%;
  max-height: 120px;
  margin: 0 auto 8px;
  border-radius: 2px;
  overflow: hidden;
  line-height: 0;
}

.sh-founder-reveal__img-wrap img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: center top;
  display: block;
  vertical-align: top;
}

.sh-founder-reveal__msg {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(244, 237, 224, 0.88);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.sh-founder-reveal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.9);
  background: rgba(43, 79, 212, 0.35);
  border: 1px solid rgba(43, 79, 212, 0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sh-founder-reveal__cta:hover {
  background: rgba(43, 79, 212, 0.5);
  border-color: rgba(58, 107, 255, 0.45);
}

.sh-founder-reveal__close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: rgba(8, 8, 7, 0.65);
  color: rgba(244, 237, 224, 0.55);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  z-index: 2;
  transition: color 0.2s ease, background 0.2s ease;
}

.sh-founder-reveal__close:hover {
  color: rgba(244, 237, 224, 0.9);
  background: rgba(59, 13, 13, 0.35);
}

@media (max-width: 767px) {
  .sh-founder-reveal {
    --fr-w: clamp(110px, 32vw, 160px);
    --fr-max-h: 180px;
    --fr-bottom: 16px;
    --fr-side: 16px;
  }
  .sh-founder-reveal__img-wrap,
  .sh-founder-reveal__img-wrap img {
    max-height: 88px;
  }
  .sh-founder-reveal__msg {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-founder-reveal {
    transition: opacity 0.35s ease;
    transform: none;
  }
  .sh-founder-reveal.sh-founder-reveal--visible {
    transform: none;
  }
}
