@font-face {
  font-family: "Druk Wide Super";
  src: url("/fonts/DrukWide-SuperItalic-Trial.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

site-footer,
.site-footer {
  display: block;
  width: 100%;
  background: var(--surface, #ffffff);
  color: var(--text, #0f172a);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 48px 32px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line, #e2e8f0);
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.site-footer__column--brand {
  gap: 24px;
}

.site-footer__column h3,
.site-footer__brand-social h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}

.site-footer__logo {
  display: inline-flex;
  line-height: 0;
  width: fit-content;
}

.site-footer__logo img {
  height: 72px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.site-footer__brand-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  color: var(--text, #0f172a);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--brand, #0f172a);
  opacity: 0.72;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line, #e2e8f0);
  background: var(--bg, #f8f9fb);
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.site-footer__social-link:hover {
  background: var(--surface, #ffffff);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.site-footer__social-link svg,
.site-footer__social-link img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.site-footer__column--apps .site-footer__stores {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.site-footer__copyright {
  color: var(--muted, #64748b);
  font-size: 0.8125rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__legal a {
  color: var(--muted, #64748b);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: var(--text, #0f172a);
}

.site-footer__wordmark {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px 20px;
  background: var(--surface, #ffffff);
  user-select: none;
  pointer-events: none;
}

.site-footer__wordmark-text {
  display: block;
  font-family: "Druk Wide Super", "Inter", system-ui, sans-serif;
  font-size: clamp(2.75rem, 11vw, 7rem);
  font-weight: normal;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 0.06em;
  opacity: 0.38;
  background: linear-gradient(
    180deg,
    #e2e8f0 0%,
    #cbd5e1 22%,
    #94a3b8 55%,
    #64748b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .site-footer__column--brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .site-footer__brand-social {
    align-items: flex-end;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    padding: 40px 24px 28px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__column--brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__brand-social {
    align-items: flex-start;
  }

  .site-footer__logo img {
    height: 64px;
    max-width: 200px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__stores .product-store-btn {
    width: 100%;
    max-width: 220px;
  }

  .site-footer__wordmark {
    padding: 8px 12px 16px;
  }

  .site-footer__wordmark-text {
    font-size: clamp(2.25rem, 13vw, 4.5rem);
  }
}

.product-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line, #e2e8f0);
  background: var(--surface, #ffffff);
  color: var(--text, #0f172a);
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.product-store-btn:hover {
  border-color: #cbd5e1;
  background: var(--bg, #f8f9fb);
  transform: translateY(-1px);
}

.product-store-btn svg,
.product-store-btn img {
  display: block;
  flex-shrink: 0;
}

.product-store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-store-icon--apple img {
  width: 22px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0);
}

.product-store-icon--play img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.product-store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.product-store-copy small {
  font-size: 0.625rem;
  color: var(--muted, #64748b);
  letter-spacing: 0.02em;
}

.product-store-copy strong {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__social-link,
  .site-footer__stores .product-store-btn {
    transition: none;
  }

  .site-footer__social-link:hover,
  .site-footer__stores .product-store-btn:hover {
    transform: none;
  }
}
