/* Cookie consent banner — Nucleus visual language */

.cookie-banner {
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  pointer-events: auto;
  max-width: var(--max-w, 1140px);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: var(--bg2, #111);
  border: 1px solid var(--border2, rgba(255, 255, 255, 0.14));
  border-radius: var(--radius, 12px);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner-eyebrow {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #00e5a0);
  margin: 0 0 8px;
}

.cookie-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--text, #f0f0f0);
}

.cookie-banner-text {
  margin: 0;
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text2, #888);
}

.cookie-banner-text a {
  color: var(--accent, #00e5a0);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  align-items: center;
}

.cookie-banner-actions .btn {
  min-width: 7.5rem;
  justify-content: center;
}

/* Equal prominence: both use same size; Reject is ghost, Accept primary — labels are explicit */
.cookie-btn-reject,
.cookie-btn-accept {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: 999px;
}

.cookie-btn-reject {
  border: 1px solid var(--border2, rgba(255, 255, 255, 0.14));
  background: transparent;
  color: var(--text, #f0f0f0);
}

.cookie-btn-reject:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cookie-btn-accept {
  background: var(--accent, #00e5a0);
  color: #0a0a0a;
  border: 1px solid transparent;
}

.cookie-btn-accept:hover {
  filter: brightness(1.05);
}

.cookie-banner-actions .btn:focus-visible {
  outline: 2px solid var(--accent, #00e5a0);
  outline-offset: 3px;
}

html.cookie-banner-open body {
  padding-bottom: 0;
}

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: flex-end;
}

.footer-legal a,
.footer-link-btn {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
  color: var(--text2, #888);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.footer-legal a:hover,
.footer-link-btn:hover {
  color: var(--accent, #00e5a0);
}

.footer-link-btn:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid var(--accent, #00e5a0);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-list li {
  margin: 0 0 8px;
}

.footer-legal-list .footer-link-btn {
  font: inherit;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.footer-legal-list .footer-link-btn:hover {
  color: var(--accent, #00e5a0);
}

/* Demo Cal.com notice + embed */
.cal-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-sm, 8px);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text2, #888);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cal-notice a {
  color: var(--accent, #00e5a0);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cal-embed-host {
  min-height: 620px;
  width: 100%;
}

@media (max-width: 720px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
  }

  .cookie-banner-actions {
    flex-direction: column-reverse;
    width: 100%;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner-inner {
    box-shadow: none;
  }
}
