@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-medium.woff2") format("woff2");
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  line-height: 1.65;
  color: #2a2a2a;
  background: linear-gradient(165deg, #ffffff 0%, #f5f5f5 45%, #ebebeb 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #4a4a4a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

a:hover {
  color: #1a1a1a;
}

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

.page__header {
  flex-shrink: 0;
  padding: clamp(1rem, 2.5vh, 1.75rem) 1.5rem clamp(0.375rem, 0.8vh, 0.625rem);
  text-align: center;
}

.page__brand {
  display: inline-block;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #1a1a1a;
  text-decoration: none;
}

.page__brand-suffix {
  font-weight: 400;
  color: #6a6a6a;
}

.page__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vh, 2rem) 1.5rem;
  text-align: center;
}

.content {
  max-width: 640px;
  width: 100%;
}

.content__headline {
  margin: 0 0 clamp(1rem, 2.5vh, 1.5rem);
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.content__text {
  margin: 0 0 clamp(1.375rem, 3vh, 2rem);
  line-height: 1.75;
  color: #4a4a4a;
}

.carousel-section {
  flex-shrink: 0;
  width: 100%;
  padding: clamp(1rem, 2vh, 1.5rem) 0;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.carousel {
  display: flex;
  width: max-content;
  animation: marquee 100s linear infinite;
}

.carousel--paused {
  animation-play-state: paused;
}

.carousel__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 0 1.25rem;
}

.carousel__item {
  flex-shrink: 0;
  width: 130px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}

.carousel__item:hover img {
  filter: grayscale(30%) opacity(0.85);
}

.carousel__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8 0%, #dcdcdc 100%);
  border-radius: 4px;
  border: 1px solid #d0d0d0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.page__footer {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem clamp(1rem, 2vh, 1.5rem);
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
}

.footer-nav a {
  color: #888;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #333;
}

.legal-page .page__main {
  justify-content: flex-start;
  padding-top: clamp(2rem, 5vh, 3rem);
}

.legal-page .content {
  text-align: left;
}

.legal-page .content__headline {
  text-align: center;
  margin-bottom: 2rem;
}

.legal-page .content__text {
  margin-bottom: 1rem;
}

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

.back-link:hover {
  color: #1a1a1a;
}

@media (min-width: 1024px) {
  .page {
    height: 100vh;
    overflow: hidden;
  }

  .page__main {
    padding-top: 0;
    padding-bottom: 0;
  }

  .content__headline {
    white-space: nowrap;
    font-size: clamp(1.125rem, 1.35vw, 1.4375rem);
  }

  .content__text {
    margin-bottom: clamp(1.125rem, 2vh, 1.5rem);
  }
}

@media (max-width: 1023px) {
  .page {
    min-height: 100vh;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
