/* Pure Naked — follow-the-page prompt.
   Plain CSS, no preprocessor, no external font.
   Scoped entirely under .pn-follow so it cannot leak into the site's own
   styles. Sits bottom-left on desktop and full-width at the bottom on
   phones, clear of the sticky elements the site already uses. */

.pn-follow {
  position: fixed;
  z-index: 9990;                    /* above content, below modals */
  left: 18px;
  bottom: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 340px;
  max-width: calc(100vw - 36px);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
  padding: 16px 34px 16px 16px;

  background: #12352c;              /* the dark green the site already uses */
  color: #f7f2ea;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;

  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.26s ease, transform 0.26s ease;
  will-change: opacity, transform;
}

.pn-follow.is-in {
  opacity: 1;
  transform: translateY(0);
}

.pn-follow__badge {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1877f2;              /* Facebook blue, for recognition only */
  display: flex;
  align-items: center;
  justify-content: center;
}

.pn-follow__body {
  flex: 1 1 160px;
  min-width: 0;
}

.pn-follow__title {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.pn-follow__text {
  margin: 0;
  color: #d8e2dc;
  font-size: 13px;
}

.pn-follow__actions {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.pn-follow__cta {
  display: inline-block;
  padding: 10px 18px;
  background: #f78e26;              /* brand orange */
  color: #1b1b1b;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 9px;
  transition: filter 0.15s ease;
}

.pn-follow__cta:hover,
.pn-follow__cta:focus-visible {
  filter: brightness(1.07);
}

.pn-follow__alt {
  color: #d8e2dc;
  font-size: 13px;
  text-decoration: underline;
}

.pn-follow__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a9bdb4;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
}

.pn-follow__close:hover,
.pn-follow__close:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.pn-follow__cta:focus-visible,
.pn-follow__alt:focus-visible,
.pn-follow__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .pn-follow {
    left: 12px;
    right: 12px;
    bottom: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    padding: 14px 32px 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pn-follow {
    transition: none;
    transform: none;
  }
  .pn-follow.is-in { transform: none; }
}

@media print {
  .pn-follow { display: none !important; }
}
