/* Kept separate so the privacy page can offer the same settings without
   importing the marketing page's layout or typography. */
.sc-consent[hidden], [data-analytics-settings][hidden] { display: none !important; }
.sc-consent {
  position: fixed; z-index: 90; inset: auto 20px 20px;
  display: flex; align-items: center; gap: 20px 32px;
  padding: 22px 24px; max-height: calc(100dvh - 40px); overflow: auto;
  color: #f7efe3; background: #151019; border: 1px solid #6a596d;
  border-radius: 18px; box-shadow: 0 12px 44px #0008;
  font: 400 15px/1.5 "Instrument Sans", system-ui, sans-serif;
}
.sc-consent h2 { margin: 0 0 8px; color: #f7efe3; font: 700 19px/1.25 "Bricolage Grotesque", system-ui, sans-serif; }
.sc-consent p { margin: 0; color: #d9cebf; }
.sc-consent a { color: #ffc070; text-decoration: underline; text-underline-offset: 3px; }
.sc-consent__copy { flex: 1; }
.sc-consent__state:not(:empty) { margin-top: 8px; }
.sc-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.sc-consent button {
  min-height: 46px; border: 1px solid #9b8a9e; padding: 10px 16px;
  background: #2a2131; color: #f7efe3; border-radius: 999px;
  font: 600 15px/1.4 "Instrument Sans", system-ui, sans-serif; cursor: pointer;
}
.sc-consent button:hover { background: #403148; }
.sc-consent :focus-visible, .sc-analytics-settings:focus-visible { outline: 3px solid #ffc070; outline-offset: 3px; }
.sc-analytics-settings { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .sc-consent { flex-direction: column; align-items: stretch; inset: auto 12px 12px; padding: 18px; gap: 16px; max-height: calc(100dvh - 24px); }
  .sc-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .sc-consent__actions [data-consent-close] { grid-column: 1 / -1; }
}
