/* These pages share the site's visibility-aware neon text and control borders. */
:root { --cyan: #00d9ff; --magenta: #ff00b7; --orange: #ff6600; }
body::before { height: 1px; box-shadow: 0 0 6px #00d9ff70, 0 0 9px #ff00b74d; }
.page-header { border-bottom-color: #00d9ff50; }
.brand.wordmark { padding: 6px 0; }
.brand img {
  display: block;
  width: clamp(145px, 24vw, 210px);
  height: auto;
  filter: drop-shadow(0 0 2px #00d9ff90) drop-shadow(0 0 8px #00d9ff45);
}
.header-label.eyebrow { margin: 0; }
main { justify-content: center; }
.content {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(#0b0b10, #0b0b10) padding-box,
    linear-gradient(115deg, #00d9ff77, #ff00b777 55%, #ff660077) border-box;
}
h1 .neon-text {
  text-shadow: 0 0 2px #ffffff80, 0 0 7px var(--neon),
    0 0 20px rgba(var(--neon-rgb), .84), 0 0 32px rgba(var(--neon-rgb), .37);
}
.status-icon {
  border-color: #ff660066;
  box-shadow: inset 0 0 12px #ff660017, 0 0 12px #ff660023;
}
.status-icon svg { filter: drop-shadow(0 0 5px #ff6600b0); }
.unsubscribed .detail { border-left: 0; border-color: #00d9ff40; background: #08090e; }
.detail strong { display: inline; margin: 0; }
.actions { gap: 16px; }
.return-button,
.cancel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(#090b10, #090b10) padding-box,
    linear-gradient(110deg, var(--cyan), var(--magenta) 55%, var(--orange)) border-box;
  color: #defaff;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  touch-action: manipulation;
  transition: background-color .16s ease, box-shadow .16s ease;
}
/* The existing animated outline supplies the only border after decoration. */
:is(.return-button, .cancel-button).neon-control {
  border-color: transparent;
  background: #090b10;
}
:is(.return-button, .cancel-button):hover {
  background: #131722;
  box-shadow: inset 0 0 20px #00d9ff14;
}
:is(.return-button, .cancel-button):focus-visible {
  outline: 2px solid #d1f8ff;
  outline-offset: 4px;
}
.cancel-status { border-color: #00d9ff66; background: #08131c; }
.cancel-status[data-state="error"] { border-color: #ff00b766; background: #1a0c18; }
.neon-field > #cancel-email { background: #090b10; }
#cancel-email:focus-visible { border-color: transparent; outline: 2px solid var(--cyan); outline-offset: -2px; box-shadow: none; }
.page-footer { border-top-color: #ff00b750; }
/* A readable painted core is retained on WebKit; its glow does not rely on a shadow DOM copy. */
.newsletter-page .scroll-light-host>.scroll-light-glow { display: none !important; }
.newsletter-page .neon-text,
.newsletter-page .scroll-light-host .neon-text {
  color: var(--neon-core, #f5f2ef) !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 0 2px #ffffff70, 0 0 6px var(--neon, #00d9ff), 0 0 14px rgba(var(--neon-rgb, 0,217,255), .6);
}
.newsletter-page .scroll-light-host .neon-text { text-shadow: 0 0 2px #ffffff70, 0 0 6px var(--neon, #00d9ff), 0 0 14px rgba(var(--neon-rgb, 0,217,255), .6) !important; }
.newsletter-page h1 { color: #ffe3d1; -webkit-text-fill-color: currentColor; }
.newsletter-page .lead { color: #ffd1f2; -webkit-text-fill-color: currentColor; }
.newsletter-page :is(.cancel-label,.cancel-help,.page-footer) { color: #d1f8ff; -webkit-text-fill-color: currentColor; }
.newsletter-page .actions { border: 0; }
@media (max-width: 420px) {
  .page-header { gap: 12px; }
  main { padding-inline: 16px; }
  .content { padding: 26px 20px; }
  h1 { font-size: 2.125rem; }
  .return-button, .cancel-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .return-button, .cancel-button { transition: none; }
}
@media (forced-colors: active) {
  body::before, .neon-outline, .neon-rail, .scroll-light-glow { display: none; }
  .content, .detail, .cancel-status,
  :is(.return-button, .cancel-button).neon-control { border: 1px solid CanvasText; background: Canvas; color: CanvasText; }
  .neon-text, h1 .neon-text { color: CanvasText !important; text-shadow: none !important; }
}
