/* Cookie banner shown on the public website. Uses the marketing theme tokens from homepage.css. */
.cookie-notice {
  position: fixed;
  z-index: 1000;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 760px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid var(--line, #d2d2d7);
  border-radius: 18px;
  background: var(--card, #fff);
  color: var(--ink, #1d1d1f);
  box-shadow: var(--shadow, 0 18px 48px -12px #0000001a);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice__body { flex: 1; min-width: 0; }
.cookie-notice .cookie-notice__title { margin: 0 0 4px; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.cookie-notice__message { margin: 0; color: var(--muted, #6e6e73); font-size: 13px; line-height: 1.55; }
.cookie-notice__message a { color: var(--blue, #0066cc); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-notice__actions { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 8px; }
.cookie-notice__actions .button { white-space: nowrap; }

/* The footer's Cookie settings control looks like its neighbouring links. */
.cookie-settings { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
footer nav a + .cookie-settings { color: var(--muted, inherit); font-size: 13px; }
.marketing-appearance footer nav a + .cookie-settings { color: inherit; font-size: inherit; }
.cookie-settings:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 640px) {
  .cookie-notice { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-notice__actions .button { flex: 1; }
}
