/* Campaign link routing (see assets/campaign.js). Shared by every page. */

/* ── OFFER BANNER ── sits directly under the fixed 60px nav */
.offer-banner {
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  background: var(--accent-amber);
  color: var(--text-on-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}
body.has-offer { padding-top: 40px; }

/* ── DEVICE-MATCHED CTA ──
   One primary button with the other path as a smaller link underneath.
   Without the device-apple class (other devices, or no JS) the web app leads. */
.cta-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-pair.centered { align-items: center; }

.cta-alt {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 120ms ease;
}
.cta-alt:hover { color: var(--text-primary); }

.cta-pair .cta-app,
.cta-pair .cta-alt-web { display: none; }

.device-apple .cta-pair .cta-web,
.device-apple .cta-pair .cta-alt-app { display: none; }
.device-apple .cta-pair .cta-app { display: inline-flex; }
.device-apple .cta-pair .cta-alt-web { display: inline; }
