/* Cookie and personal data notice: a quiet card stacked above the contact launcher, clear of the first screen's call to action. */
.notice { position: fixed; z-index: 29; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start; width: min(400px, calc(100% - 48px)); padding: 20px 22px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 48px var(--shadow); transition: opacity 180ms ease; }
.notice[hidden] { display: none; }
/* On pages with the round contact launcher the notice stands just above it. */
body:has(.contact-widget) .notice { bottom: calc(max(24px, env(safe-area-inset-bottom)) + 80px); }
/* notice.js sets data-yield while keyboard focus is on a control under the notice (WCAG 2.4.11). */
.notice[data-yield] { opacity: 0; pointer-events: none; }
.notice-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.notice-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.notice-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.notice-text p + p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.notice-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
.notice-text a:hover { color: var(--accent-ink); }
.notice-button { grid-column: 2; justify-self: start; min-height: 44px; padding: 10px 24px; border: 0; border-radius: 40px; background: var(--btn); color: var(--btn-ink); font: 600 14px/1.2 var(--sans); cursor: pointer; transition: background-color 180ms ease; }
.notice-button:hover { background: var(--btn-hover); }
.notice-button:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
@media (max-width: 767px) {
  .notice, body:has(.contact-widget) .notice { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; padding: 18px; }
  /* notice.js measures the open notice; the launcher rises above it instead of hiding behind it. */
  .contact-widget { bottom: calc(max(24px, env(safe-area-inset-bottom)) + var(--notice-space, 0px)); }
}
