/* CP Luxury Car Detailing: the cookie banner, the footer privacy links and the privacy page.
   Kept apart from site.css so site.css (cached for a year) does not change for it.
   Generated into site/assets by build.py. Edit this file, not the copy. */

/* ---------------------------------------------------------- cookie banner */
.consent {
  position: fixed; z-index: 45;
  right: var(--gutter); bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 16px);
  width: min(460px, calc(100vw - 2 * var(--gutter)));
  padding: 22px 24px 24px;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 18px 48px rgba(0, 0, 0, .55);
  animation: consent-in .5s var(--ease) both;
}
.consent .label { margin-bottom: 10px; color: var(--red-lit); }
.consent p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--dim); }
.consent p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent .btn { min-height: 48px; padding: 0 14px; letter-spacing: .1em; }
@keyframes consent-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) {
  .consent { left: 16px; right: 16px; width: auto; bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 12px); padding: 18px 18px 20px; }
  .consent p { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

/* ---------------------------------------------------------- footer links */
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------------------------------------------------------- privacy page */
.legal { max-width: 820px; padding-bottom: clamp(64px, 8vw, 120px); }
.legal-sec { padding-block: clamp(24px, 3vw, 34px); border-top: 1px solid var(--line-strong); }
.legal-sec h2 { margin-bottom: 14px; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.18; }
.legal-sec p { max-width: 68ch; color: var(--dim); line-height: 1.68; }
.legal-sec p + p { margin-top: 12px; }
.legal-sec a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-sec .btn { margin-top: 20px; }
.legal-sec code { font: 400 .92em var(--mono); color: #fff; }
.legal-date { padding-top: 24px; border-top: 1px solid var(--line-strong); font: 400 12.5px/1.5 var(--mono); color: var(--faint); }
