body {
  padding-bottom: 92px;
}

.brand-hero {
  display: flex;
  justify-content: center;
  padding: 16px 18px 0;
}

.brand-hero img {
  display: block;
  width: min(300px, 70vw);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.2);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  gap: 4px;
  padding: 10px 18px 12px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
}

.footer-links {
  margin-top: 0 !important;
}

.footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.18);
  z-index: 30;
}

.cookie-notice.hidden {
  display: none !important;
}

.cookie-notice p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 120px;
  }

  .brand-hero {
    padding-top: 12px;
  }

  .brand-hero img {
    width: min(250px, 68vw);
    border-radius: 16px;
  }

  .site-footer {
    padding: 10px 12px 12px;
    font-size: 12px;
  }

  .cookie-notice {
    bottom: 120px;
    display: grid;
  }

  .cookie-notice.hidden {
    display: none !important;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }
}
