/* ==========================================================================
   Legal pages + cookie consent banner
   ========================================================================== */

body.page-legal {
  background: #fafafa;
}

.lp-hero {
  padding: calc(var(--header-height) + 56px) 24px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(215, 25, 32, 0.06), transparent),
    #fafafa;
}

.lp-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.lp-hero__eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 9.75rem;
  min-width: 9.75rem;
  max-width: 9.75rem;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.lp-hero__title {
  margin: 0;
  font-family: 'Chillax', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.lp-hero__meta {
  margin: 16px 0 0;
  font-size: 14px;
  color: #5b6472;
}

.lp-body {
  padding: 0 24px clamp(64px, 8vw, 96px);
  background: #fff;
}

.lp-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-top: clamp(40px, 5vw, 56px);
}

.lp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lp-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  text-decoration: none;
}

.lp-nav a:hover,
.lp-nav a.is-active {
  color: var(--color-primary);
}

.lp-content h2 {
  margin: 36px 0 12px;
  font-family: 'Chillax', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.lp-content h2:first-child {
  margin-top: 0;
}

.lp-content h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

.lp-content p,
.lp-content li {
  font-size: 16px;
  line-height: 1.7;
  color: #3d4550;
}

.lp-content p {
  margin: 0 0 14px;
}

.lp-content ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.lp-content li + li {
  margin-top: 8px;
}

.lp-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-content strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* --- Cookie consent banner --- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 22px;
  background: #111;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 280ms ease, opacity 280ms ease, visibility 280ms ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-family: 'Chillax', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cookie-banner__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.cookie-banner__btn--accept {
  background: var(--color-primary);
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: #b8141a;
  color: #fff;
}

.cookie-banner__btn--reject {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cookie-banner__btn--reject:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.cookie-banner__btn--link {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 8px;
  padding-right: 8px;
}

.cookie-banner__btn--link:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}
