*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  background-color: #080808;
  color: #333333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #555555;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page--centered {
  justify-content: center;
  align-items: center;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem 5rem;
  text-align: center;
}

.main--legal {
  justify-content: flex-start;
  align-items: stretch;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  text-align: left;
}

.logo {
  display: block;
  width: min(400px, 80vw);
  height: auto;
  margin-bottom: 0.5rem;
}

.contact {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #555555;
}

.footer a {
  color: #555555;
}

.footer a:hover {
  color: #777777;
}

.footer__sep {
  margin: 0 0.5rem;
  color: #444444;
}

.legal h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #444444;
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #444444;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  color: #555555;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal a {
  color: #555555;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: #777777;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: #555555;
}

.back-link:hover {
  color: #777777;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  background-color: #111111;
  border-top: 1px solid #222222;
  color: #888888;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner.is-visible {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cookie-banner__text {
  flex: 1 1 280px;
  max-width: 640px;
}

.cookie-banner__text a {
  color: #888888;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.5rem 1rem;
  border: 1px solid #333333;
  border-radius: 4px;
  background: transparent;
  color: #888888;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-banner__btn:hover {
  background-color: #1a1a1a;
  color: #aaaaaa;
}

.cookie-banner__btn--accept {
  background-color: #222222;
}

.cookie-banner__btn--accept:hover {
  background-color: #333333;
}

body.has-cookie-banner .footer {
  bottom: 4.5rem;
}

@media (max-width: 480px) {
  .cookie-banner.is-visible {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1;
  }
}
