/* ============================================================
   STRATO · GDPR / cookie consent + legal overlay
   ============================================================ */
.strato-cookie {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2147482900;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  background: rgba(11, 10, 16, 0.78);
  border: 1px solid rgba(236, 233, 245, 0.14);
  border-radius: 16px;
  color: #ECE9F5;
  font-family: "Manrope", "Outfit", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    0 18px 60px -20px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
  max-width: 720px;
}
.strato-cookie.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.strato-cookie .c-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  margin-top: 2px;
  background:
    radial-gradient(60% 60% at 50% 45%, #A78BFA 0%, #6B46FF 60%, #0B0A10 100%);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.55);
}
.strato-cookie .c-text {
  flex: 1 1 auto;
}
.strato-cookie .c-text b {
  display: block;
  font-family: "Outfit", "Manrope", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 13.5px;
  margin-bottom: 4px;
  color: #ECE9F5;
}
.strato-cookie .c-text span {
  color: rgba(236, 233, 245, 0.7);
}
.strato-cookie .c-text a {
  color: #A78BFA;
  text-decoration: none;
  border-bottom: 1px dashed rgba(167, 139, 250, 0.4);
}
.strato-cookie .c-text a:hover {
  border-bottom-color: #A78BFA;
}
.strato-cookie .c-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.strato-cookie button {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(236, 233, 245, 0.78);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.strato-cookie button:hover { color: #ECE9F5; }
.strato-cookie button.c-deny {
  border-color: rgba(236, 233, 245, 0.18);
}
.strato-cookie button.c-deny:hover {
  border-color: rgba(236, 233, 245, 0.36);
}
.strato-cookie button.c-accept {
  background: #A78BFA;
  color: #0B0A10;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(167, 139, 250, 0.55);
}
.strato-cookie button.c-accept:hover {
  background: #b89bff;
  transform: translateY(-1px);
}

/* ---- legal page (privacy/cookie/imprint) ---- */
.strato-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2147482950;
  display: none;
  align-items: stretch;
  justify-content: center;
  background: rgba(6, 5, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5vh 5vw;
  opacity: 0;
  transition: opacity 400ms ease;
}
.strato-legal-modal.is-open {
  display: flex;
  opacity: 1;
}
.strato-legal-modal .l-sheet {
  width: 100%;
  max-width: 880px;
  background: #0B0A10;
  border: 1px solid rgba(236, 233, 245, 0.12);
  border-radius: 20px;
  padding: 36px 42px;
  color: #ECE9F5;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
}
.strato-legal-modal h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.strato-legal-modal .eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.24em;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.85);
  margin-bottom: 22px;
}
.strato-legal-modal h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 22px 0 6px;
  color: #ECE9F5;
}
.strato-legal-modal p,
.strato-legal-modal li {
  color: rgba(236, 233, 245, 0.76);
}
.strato-legal-modal a {
  color: #A78BFA;
  text-decoration: none;
}
.strato-legal-modal .l-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(236, 233, 245, 0.18);
  color: rgba(236, 233, 245, 0.8);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
  font-size: 16px;
  line-height: 0;
}
.strato-legal-modal .l-close:hover {
  background: rgba(236, 233, 245, 0.06);
  border-color: rgba(236, 233, 245, 0.36);
}

/* tiny floating "Privacy · Cookie · Imprint" footer-strip link */
.strato-legal-pill {
  position: fixed;
  left: 24px;
  bottom: 16px;
  z-index: 2147482800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(236, 233, 245, 0.14);
  background: rgba(11, 10, 16, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 233, 245, 0.62);
  cursor: pointer;
  opacity: 0;
  transition: opacity 600ms ease, color 220ms ease, border-color 220ms ease;
}
.strato-legal-pill.is-visible { opacity: 1; }
.strato-legal-pill:hover {
  color: #ECE9F5;
  border-color: rgba(236, 233, 245, 0.3);
}

@media (max-width: 720px) {
  .strato-cookie {
    flex-direction: column;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }
  .strato-cookie .c-actions { width: 100%; justify-content: flex-end; }
  .strato-legal-pill { left: 12px; bottom: 8px; }
}
