/* Premium landing pages — Riders Pro (/promo/) */
/* Palette: see /branding/ (riders/templates/pages/branding.html) */

.lp-root {
  --lp-navy: #013562;
  --lp-brand: #0059a6;
  --lp-red: #e30613;
  --lp-red-dark: #b5000b;
  --lp-ink: #1e1e1e;
  --lp-grey: #595858;
  --lp-line: #cccccc;
  --lp-mist: #eeeeee;
  --lp-paper: color-mix(in srgb, var(--lp-mist) 45%, #fff);
  --lp-night: color-mix(in srgb, var(--lp-navy) 55%, var(--lp-ink));
  --lp-accent: var(--lp-brand);
  --lp-glow: var(--lp-kit-accent, var(--lp-brand));
  --lp-cta: var(--lp-red);
  --lp-cta-hover: var(--lp-red-dark);
  --lp-cta-ink: #fff;
  --lp-on-dark: color-mix(in srgb, #fff 74%, var(--lp-line));
  --lp-on-dark-accent: color-mix(in srgb, #fff 55%, var(--lp-brand));
  --lp-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lp-radius: 12px;
  font-family: var(--lp-font);
  font-weight: 400;
  color: var(--lp-ink);
  background: var(--lp-paper);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lp-root * {
  box-sizing: border-box;
}

.lp-root img {
  max-width: 100%;
}

/* ---------- Top navigation ---------- */

.lp-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.lp-nav.is-scrolled {
  background: color-mix(in srgb, var(--lp-night) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
}

.lp-nav__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* The logo PNG has ~20% transparent padding on each side */
.lp-brand img {
  height: 68px;
  width: auto;
  display: block;
  margin-left: -14px;
}

.lp-nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lp-nav__link {
  color: var(--lp-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.lp-nav__link:hover {
  color: #fff;
  background: color-mix(in srgb, #fff 8%, transparent);
}

.lp-nav__cta {
  margin-left: 0.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .lp-nav .lp-nav__link--hide-sm {
    display: none;
  }

  .lp-brand img {
    height: 56px;
    margin-left: -11px;
  }
}

.lp-lang {
  position: relative;
}

.lp-lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem;
  border-radius: 999px;
}

.lp-lang summary img,
.lp-lang__menu img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 2px color-mix(in srgb, #fff 75%, transparent);
}

.lp-lang summary::-webkit-details-marker {
  display: none;
}

.lp-lang summary:hover,
.lp-lang[open] summary {
  color: #fff;
  background: color-mix(in srgb, #fff 8%, transparent);
}

.lp-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 150px;
  margin: 0;
  padding: 0.35rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(1, 53, 98, 0.22);
  display: grid;
}

.lp-lang__menu button {
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--lp-ink);
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lp-lang__menu img {
  width: 18px;
  height: 18px;
  box-shadow: none;
}

.lp-lang__menu button:hover {
  background: var(--lp-mist);
}

.lp-lang__menu button[aria-current="true"] {
  color: var(--lp-brand);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.lp-hero {
  position: relative;
  min-height: min(100vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(110% 75% at 85% 15%, color-mix(in srgb, var(--lp-glow) 45%, transparent), transparent 60%),
    linear-gradient(160deg, var(--lp-navy) 0%, var(--lp-night) 55%, var(--lp-ink) 100%);
}

.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.22;
  transform: scale(1.04);
  animation: lp-ken 18s ease-in-out infinite alternate;
}

.lp-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--lp-night) 92%, transparent) 0%, color-mix(in srgb, var(--lp-night) 55%, transparent) 50%, color-mix(in srgb, var(--lp-night) 20%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--lp-ink) 85%, transparent) 0%, transparent 45%);
}

.lp-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 9rem 0 4.5rem;
}

.lp-audience {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-on-dark-accent);
  margin-bottom: 1.5rem;
  animation: lp-rise 0.7s ease both;
}

.lp-audience::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--lp-cta);
}

.lp-hero h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 1.04;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  animation: lp-rise 0.8s ease 0.08s both;
}

.lp-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--lp-on-dark);
  max-width: 44ch;
  margin: 0 0 2.25rem;
  animation: lp-rise 0.8s ease 0.16s both;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  animation: lp-rise 0.8s ease 0.24s both;
}

/* ---------- Buttons ---------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--lp-font);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0.9rem 1.5rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lp-btn:hover {
  transform: translateY(-2px);
}

.lp-btn:focus-visible,
.lp-price__btn:focus-visible,
.lp-nav__link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lp-brand) 70%, #fff);
  outline-offset: 2px;
}

.lp-btn--primary {
  background: var(--lp-cta);
  color: var(--lp-cta-ink);
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--lp-cta) 75%, transparent);
}

.lp-btn--primary:hover {
  background: var(--lp-cta-hover);
  color: var(--lp-cta-ink);
}

.lp-btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fff 40%, transparent);
}

.lp-btn--ghost:hover {
  background: color-mix(in srgb, #fff 8%, transparent);
  color: #fff;
}

.lp-btn--ink {
  background: var(--lp-navy);
  color: #fff;
}

.lp-btn--ink:hover {
  background: var(--lp-brand);
  color: #fff;
}

.lp-btn--wide {
  width: 100%;
}

/* ---------- Sections ---------- */

.lp-section {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.lp-section--flush-top {
  padding-top: 0;
}

.lp-section--tint {
  width: 100%;
  background: #fff;
  border-block: 1px solid var(--lp-mist);
}

.lp-section--tint > .lp-section {
  padding-block: 5rem;
}

.lp-section--dark {
  width: 100%;
  color: #fff;
  background:
    radial-gradient(80% 60% at 10% 0%, color-mix(in srgb, var(--lp-brand) 28%, transparent), transparent 60%),
    var(--lp-night);
}

.lp-section--dark > .lp-section {
  padding-block: 5rem;
}

.lp-kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin: 0 0 0.85rem;
}

.lp-section--dark .lp-kicker {
  color: var(--lp-on-dark-accent);
}

.lp-section h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 24ch;
}

.lp-section p.lp-support {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lp-grey);
  max-width: 56ch;
  margin: 0 0 2rem;
}

.lp-section--dark p.lp-support {
  color: var(--lp-on-dark);
}

.lp-benefits {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .lp-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-benefits li {
  position: relative;
  padding-top: 1.25rem;
  border-top: 2px solid var(--lp-brand);
}

.lp-benefits h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.lp-benefits p {
  margin: 0;
  color: var(--lp-grey);
  line-height: 1.65;
  font-size: 0.96rem;
}

.lp-proof {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 34ch;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--lp-cta);
}

/* ---------- Pricing ---------- */

.lp-currencies {
  display: inline-flex;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 8%, transparent);
}

.lp-currency {
  color: var(--lp-on-dark);
  text-decoration: none;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}

.lp-currency:hover {
  color: #fff;
}

.lp-currency.is-active {
  background: #fff;
  color: var(--lp-navy);
}

.lp-prices {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.lp-addons {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .lp-prices {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-price {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 1.35rem 1.35rem;
  background: color-mix(in srgb, #fff 5%, transparent);
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  text-decoration: none;
  color: inherit;
  border-radius: var(--lp-radius);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lp-price:hover {
  border-color: color-mix(in srgb, var(--lp-brand) 70%, #fff);
  background: color-mix(in srgb, var(--lp-brand) 16%, transparent);
  transform: translateY(-3px);
  color: #fff;
}

.lp-price__dur {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-on-dark-accent);
}

.lp-price__amt {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.lp-price__amt span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
}

.lp-pickers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-price__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.lp-price__saving {
  font-size: 0.85rem;
  font-weight: 600;
  color: color-mix(in srgb, #fff 40%, #3ecf8e);
}

.lp-price--pack {
  border-color: color-mix(in srgb, var(--lp-cta) 70%, transparent);
  background: color-mix(in srgb, var(--lp-cta) 12%, transparent);
}

.lp-price__label {
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.lp-price__desc {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.65;
}

.lp-price__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.lp-price__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lp-price__btn--primary {
  background: var(--lp-cta);
  color: var(--lp-cta-ink);
}

.lp-price__btn--primary:hover {
  background: var(--lp-cta-hover);
  color: var(--lp-cta-ink);
}

.lp-price__btn--gift {
  border: 1px solid color-mix(in srgb, #fff 30%, transparent);
  color: #fff;
}

.lp-price__btn--gift:hover {
  border-color: #fff;
  color: #fff;
}

.lp-includes {
  margin: 1rem 0 0;
  padding: 0;
  max-width: 40rem;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.lp-includes li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.55;
}

.lp-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--lp-brand);
  border-bottom: 2px solid var(--lp-brand);
  transform: rotate(-45deg);
}

.lp-free {
  border: 1px solid var(--lp-mist);
  background: #fff;
  border-radius: 16px;
  padding: 3rem clamp(1.25rem, 4vw, 3rem);
  margin-bottom: 5rem;
}

.lp-free .lp-btn {
  margin-top: 1.75rem;
}

/* ---------- FAQ ---------- */

.lp-faq {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
}

.lp-faq details {
  border-bottom: 1px solid var(--lp-mist);
  padding: 1.15rem 0;
}

.lp-faq summary {
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: '+';
  font-weight: 400;
  color: var(--lp-brand);
}

.lp-faq details[open] summary::after {
  content: '–';
}

.lp-faq p {
  margin: 0.75rem 0 0;
  color: var(--lp-grey);
  line-height: 1.7;
}

/* ---------- Lead form ---------- */

.lp-lead {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .lp-lead {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.lp-form {
  display: grid;
  gap: 1rem;
}

.lp-form label {
  font-weight: 500;
  font-size: 0.86rem;
  display: block;
  margin-bottom: 0.35rem;
}

.lp-form input,
.lp-form textarea,
.lp-form .form-control {
  width: 100%;
  border: 1px solid var(--lp-line);
  background: #fff;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--lp-ink);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-form textarea {
  min-height: 120px;
  resize: vertical;
}

.lp-form input:focus,
.lp-form textarea:focus,
.lp-form .form-control:focus {
  outline: none;
  border-color: var(--lp-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-brand) 22%, transparent);
}

.lp-form .form-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--lp-grey);
}

.lp-form .form-check input {
  width: auto;
  margin-top: 0.3rem;
  accent-color: var(--lp-brand);
}

.lp-form .form-check label {
  font-weight: 400;
  margin: 0;
}

.lp-form-error {
  color: var(--lp-red-dark);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.lp-form-error ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-alert {
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--lp-brand) 8%, #fff);
  border-left: 3px solid var(--lp-brand);
  border-radius: 0 10px 10px 0;
  margin-bottom: 1rem;
}

.lp-alert--error {
  background: color-mix(in srgb, var(--lp-red) 7%, #fff);
  border-left-color: var(--lp-red);
}

.lp-banner {
  position: relative;
  z-index: 60;
  background: var(--lp-cta);
  color: var(--lp-cta-ink);
  text-align: center;
  padding: 0.7rem 1rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.lp-root:has(.lp-banner) .lp-nav:not(.is-scrolled) {
  top: 2.6rem;
}

.lp-campaign-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--lp-grey);
  max-width: 68ch;
}

.lp-campaign-body h2,
.lp-campaign-body h3 {
  letter-spacing: -0.015em;
  color: var(--lp-ink);
}

/* ---------- Footer ---------- */

.lp-footer {
  background: var(--lp-ink);
  color: var(--lp-on-dark);
  font-size: 0.88rem;
}

.lp-footer__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.lp-footer__brand img {
  height: 80px;
  width: auto;
  display: block;
  margin: -12px 0 -12px -16px;
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.lp-footer__links a,
.lp-footer__links button {
  color: var(--lp-on-dark);
  text-decoration: none;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.lp-footer__links a:hover,
.lp-footer__links button:hover {
  color: #fff;
}

.lp-footer__legal {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid color-mix(in srgb, #fff 10%, transparent);
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--lp-on-dark) 70%, transparent);
}

/* ---------- Cookie consent (landing only) ---------- */

.lp-cookie {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 9999;
  width: min(980px, calc(100% - 2rem));
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 1.35rem;
  color: #fff;
  background: color-mix(in srgb, var(--lp-night) 92%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border: 1px solid color-mix(in srgb, #fff 10%, transparent);
  border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  animation: lp-cookie-in 0.45s ease both;
}

.lp-cookie[hidden] {
  display: none;
}

.lp-cookie__text {
  flex: 1;
  min-width: 0;
}

.lp-cookie__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.lp-cookie__text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--lp-on-dark);
}

.lp-cookie__text a {
  color: #fff;
}

.lp-cookie__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lp-cookie__btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.lp-cookie__btn--primary {
  background: var(--lp-cta);
  color: var(--lp-cta-ink);
}

.lp-cookie__btn--primary:hover {
  background: var(--lp-cta-hover);
}

.lp-cookie__btn--ghost {
  background: transparent;
  color: #fff;
  border-color: color-mix(in srgb, #fff 28%, transparent);
}

.lp-cookie__btn--ghost:hover {
  border-color: #fff;
}

.lp-cookie__btn--link {
  background: transparent;
  color: var(--lp-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-inline: 0.5rem;
}

.lp-cookie__btn--link:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .lp-cookie {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    bottom: 0.75rem;
  }

  .lp-cookie__actions {
    flex-wrap: wrap;
  }

  .lp-cookie__actions .lp-cookie__btn {
    flex: 1;
  }
}

.lp-cookie-dialog {
  width: min(560px, calc(100% - 2rem));
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--lp-ink);
  background: #fff;
  box-shadow: 0 40px 90px -20px rgba(1, 53, 98, 0.45);
  font-family: var(--lp-font);
}

.lp-cookie-dialog::backdrop {
  background: color-mix(in srgb, var(--lp-night) 60%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lp-cookie-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem 0.5rem;
}

.lp-cookie-dialog__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.lp-cookie-dialog__close {
  border: 0;
  background: var(--lp-mist);
  color: var(--lp-ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.lp-cookie-dialog__intro {
  margin: 0;
  padding: 0 1.5rem 0.75rem;
  font-size: 0.88rem;
  color: var(--lp-grey);
  line-height: 1.6;
}

.lp-cookie-dialog__list {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
  max-height: min(52vh, 420px);
  overflow-y: auto;
}

.lp-cookie-dialog__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--lp-mist);
}

.lp-cookie-dialog__item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.lp-cookie-dialog__item p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--lp-grey);
}

.lp-cookie-dialog__always {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lp-brand);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.lp-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
}

.lp-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.lp-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--lp-line);
  transition: background 0.2s ease;
}

.lp-switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.lp-switch input:checked + span {
  background: var(--lp-brand);
}

.lp-switch input:checked + span::after {
  transform: translateX(18px);
}

.lp-switch input:focus-visible + span {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-brand) 30%, transparent);
}

.lp-cookie-dialog__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid var(--lp-mist);
}

.lp-cookie-dialog__foot .lp-cookie__btn--ghost {
  color: var(--lp-ink);
  border-color: var(--lp-line);
}

.lp-cookie-dialog__foot .lp-cookie__btn--ghost:hover {
  border-color: var(--lp-ink);
}

/* ---------- Motion ---------- */

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp-ken {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes lp-cookie-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__media img,
  .lp-audience,
  .lp-hero h1,
  .lp-hero__lead,
  .lp-cta-row,
  .lp-cookie {
    animation: none !important;
  }
}
