/* Consent manager styles — shared by the marketing page and the legal pages.

   Kept out of site.css on purpose: that file is a Tailwind build whose @source
   only scans index.html, so a rebuild would purge anything the legal pages need. */


.consent-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #f7f3f5;
  border-top: 1px solid rgba(26,26,46,0.1);
  border-bottom: 1px solid rgba(26,26,46,0.1);
  padding: 1.25rem;
}
.consent-placeholder-inner { max-width: 34rem; text-align: center; }
.consent-placeholder-title {
  font-family: "Sora", "Figtree", sans-serif;
  font-weight: 700; font-size: 1rem; color: #1a1a2e; margin-bottom: .5rem;
}
.consent-placeholder-text { font-size: .875rem; line-height: 1.55; color: rgba(26,26,46,.7); }
.consent-placeholder-actions {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .9rem;
}
.consent-placeholder-note { font-size: .75rem; color: rgba(26,26,46,.5); margin-top: .7rem; }
.consent-placeholder-note a, .consent-text a { color: rgb(160 2 52); text-decoration: underline; }

.consent-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.1rem; border-radius: .75rem;
  font-size: .875rem; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
}
.consent-btn:focus-visible { outline: 2px solid rgb(160 2 52); outline-offset: 2px; }
.consent-btn-primary { background: rgb(160 2 52); color: #fff; }
.consent-btn-primary:hover { opacity: .9; }
/* Same size and weight as "accept": refusing must not be harder than agreeing. */
.consent-btn-secondary { background: #fff; color: #1a1a2e; border-color: rgba(26,26,46,.25); }
.consent-btn-secondary:hover { border-color: rgba(26,26,46,.5); }
.consent-btn-ghost { background: transparent; color: #1a1a2e; border-color: rgba(26,26,46,.2); text-decoration: none; }
.consent-btn-ghost:hover { border-color: rgba(26,26,46,.45); }

#consent-banner {
  position: fixed; z-index: 9999;
  left: 0; right: 0; bottom: 0;
  padding: 0 .75rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  display: none;
}
#consent-banner.consent-open { display: block; }
.consent-card {
  max-width: 46rem; margin: 0 auto;
  background: #fff; color: #1a1a2e;
  border: 1px solid rgba(26,26,46,.12);
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(26,26,46,.22);
  padding: 1.15rem 1.25rem;
}
.consent-title {
  font-family: "Sora", "Figtree", sans-serif;
  font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem;
}
.consent-text { font-size: .875rem; line-height: 1.6; color: rgba(26,26,46,.72); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.consent-actions .consent-btn { flex: 1 1 10rem; }
.consent-options { margin-top: 1rem; border-top: 1px solid rgba(26,26,46,.1); padding-top: .9rem; }
.consent-option { display: flex; gap: .7rem; align-items: flex-start; padding: .5rem 0; }
.consent-option input { margin-top: .25rem; accent-color: rgb(160 2 52); width: 1rem; height: 1rem; }
.consent-option-title { font-weight: 600; font-size: .875rem; display: block; }
.consent-option-text { font-size: .8125rem; color: rgba(26,26,46,.65); line-height: 1.5; }
.consent-links { margin-top: .9rem; font-size: .8125rem; color: rgba(26,26,46,.55); }
.consent-links a { color: rgb(160 2 52); text-decoration: underline; }

/* The sticky mobile CTA bar sits at the very bottom, so lift the banner clear of it. */
@media (max-width: 767px) {
  #consent-banner { bottom: 3.5rem; }
}

.form-consent {
  border-top: 1px solid rgba(26,26,46,.1);
  padding-top: 1rem;
}
.form-consent-label {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .8125rem; line-height: 1.55; color: rgba(26,26,46,.75);
  cursor: pointer;
}
.form-consent-label input { width: 1rem; height: 1rem; flex: none; }
.form-consent-label a { color: rgb(160 2 52); text-decoration: underline; }
.form-consent-note { font-size: .75rem; color: rgba(26,26,46,.5); margin-top: .5rem; padding-left: 1.65rem; }
  
/* The footer entry point is a <button> so it is reachable by keyboard and
   announced as an action; Tailwind's preflight strips its native affordances,
   so the pointer has to come back explicitly. */
[data-consent-open] { cursor: pointer; }
