/* Homelike analytics consent banner — calm tones aligned with landing/site.css */
.homelike-consent {
  --hc-bg: #fffcf7;
  --hc-ink: #1c2a2e;
  --hc-muted: #5c6568;
  --hc-line: #ddd4c6;
  --hc-accent: #0f6e6e;
  --hc-accent-ink: #0a4f4f;
  --hc-shadow: 0 -8px 32px rgba(28, 42, 46, 0.12);
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(245, 240, 232, 0.96);
  border-top: 1px solid var(--hc-line);
  box-shadow: var(--hc-shadow);
  backdrop-filter: blur(12px);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, Arial, sans-serif;
  color: var(--hc-ink);
  line-height: 1.5;
}

.homelike-consent[hidden] {
  display: none !important;
}

.homelike-consent__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.homelike-consent__copy {
  flex: 1 1 220px;
  margin: 0;
  font-size: 14.5px;
  color: #334044;
  max-width: 62ch;
}

.homelike-consent__copy a {
  color: var(--hc-accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.homelike-consent__copy a:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.homelike-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.homelike-consent__btn {
  display: inline-block;
  appearance: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 720;
  font-family: inherit;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  min-width: 9.5rem;
  text-align: center;
}

.homelike-consent__btn:hover {
  transform: translateY(-1px);
}

.homelike-consent__btn:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: 2px;
}

/* Equal visual weight — no primary/secondary dark pattern */
.homelike-consent__btn--accept,
.homelike-consent__btn--reject {
  background: var(--hc-bg);
  color: var(--hc-ink);
  border-color: var(--hc-line);
  box-shadow: 0 6px 18px rgba(28, 42, 46, 0.05);
}

.homelike-consent__btn--accept:hover,
.homelike-consent__btn--reject:hover {
  border-color: #c4b7a4;
  background: #fff;
}

@media (max-width: 560px) {
  .homelike-consent__actions {
    width: 100%;
  }
  .homelike-consent__btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }
}
