.cookie-consent {
  --cookie-accent: #00c9e8;
  position: fixed;
  z-index: 10000;
  inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 16px 24px;
  border: 1px solid #35414e;
  border-radius: 20px;
  background: #10151d;
  color: #f3f6fa;
  box-shadow: 0 8px 32px #0008;
  font: 400 14px/1.5 var(--font-ui, system-ui, sans-serif);
  text-align: left;
}

.cookie-consent[hidden],
body:has(.ls-popup-host.backdrop-open) .cookie-consent {
  display: none;
}

.cookie-consent p {
  flex: 1;
  margin: 0;
  color: inherit;
  font: inherit;
}

.cookie-consent > div:first-child {
  flex: 1;
}

.cookie-consent .cookie-consent__status {
  margin-top: 8px;
}

.cookie-consent a {
  color: var(--cookie-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  gap: 12px;
}

.cookie-consent__actions button {
  min-width: 100px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--cookie-accent);
  border-radius: 10px;
  background: transparent;
  color: #f3f6fa;
  font: 700 12px/1.3 var(--font-mono, monospace);
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-consent__actions .cookie-consent__accept {
  background: var(--cookie-accent);
  color: #071419;
}

.cookie-consent :is(a, button):focus-visible,
.cookie-preferences:focus-visible {
  outline: 2px solid #00c9e8;
  outline-offset: 3px;
}

.site-footer {
  padding: 24px 20px;
  border-top: 1px solid #35414e;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.cookie-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-preferences-row {
  padding: 12px 20px;
  text-align: center;
}

.manual-lead-opt-in {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0;
  color: #191c1f;
  font: 500 13px/1.4 Raleway, sans-serif;
}

.manual-lead-opt-in input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #155886;
}

.manual-lead-opt-in a {
  color: #174e75;
  text-decoration: underline;
}

.manual-lead-status {
  margin: 12px 0;
  color: #191c1f;
  font: 600 13px/1.4 Raleway, sans-serif;
}

@media (max-width: 680px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .cookie-consent__actions button {
    flex: 1;
    min-width: 0;
  }
}
