/* Contact, legal/preferences pages, and the consent banner; builds on shared storefront controls. */
.content-page {
  max-width: 850px;
}
.content-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.content-page h2 {
  font-size: 1.5rem;
  margin-top: 35px;
  letter-spacing: -0.02em;
}
.content-page a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content-page li {
  color: var(--muted);
  margin: 8px 0;
}
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 16px;
  right: 16px;
  margin-inline: auto;
  width: min(900px, calc(100% - 32px));
  z-index: 100;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  background: #fff;
  color: #171c21;
  box-shadow: 0 12px 48px #0005;
  padding: 24px;
  box-sizing: border-box;
}
.cookie-banner .wrap {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: none;
  padding: 0;
}
.cookie-banner strong {
  font-size: 1.35rem;
  color: #171c21;
}
.cookie-banner p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 12px 0 0;
  color: #414950;
}
.cookie-banner a {
  color: #174e8c;
  text-decoration: underline;
}
.cookie-banner form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.cookie-banner .button {
  min-height: 44px;
  border: 1px solid #171c21;
  background: #171c21;
  color: #fff;
}
.cookie-banner .button.secondary {
  background: #fff;
  color: #171c21;
}
.cookie-banner .button:focus-visible,
.cookie-banner a:focus-visible {
  outline: 3px solid #2268a7;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .cookie-banner { bottom: 12px; padding: 20px; }
  .cookie-banner .button { flex: 1 1 150px; }
}
.contact-form {
  display: grid;
  gap: 20px;
  max-width: 650px;
  margin-top: 30px;
}
.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact-form input:not([type='checkbox']),
.contact-form textarea {
  width: 100%;
  padding: 12px;
  color: var(--text);
  background: #17232f;
  border: 1px solid #657583;
  border-radius: 5px;
  font: inherit;
}
.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}
.contact-form .checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  font-weight: 400;
}
.contact-form input[type='checkbox'] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}
.form-error {
  color: #ff9d9d;
  font-size: 0.9rem;
}
.form-summary {
  padding: 15px;
  border: 1px solid #ff9d9d;
  border-radius: 5px;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.cookie-preferences {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}
@media (min-width: 900px) {
  .cookie-banner .wrap {
    grid-template-columns: 1fr;
    align-items: center;
  }
}
