/* ============================================================
   Shared support-site chrome (header + footer)
   Used by every Doubleslash Studio app support page so they
   present an identical, brand-consistent header and footer.
   Self-contained dark Doubleslash theme, independent of each
   page's own body styling. Class names are namespaced (ds-)
   to avoid collisions with per-app styles.
   ============================================================ */

.ds-support-header,
.ds-support-footer {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  box-sizing: border-box;
}

.ds-support-header *,
.ds-support-footer * {
  box-sizing: border-box;
}

/* ---------- Header ---------- */

.ds-support-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px 22px;
  flex-wrap: wrap;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 40px);
  background: rgba(14, 8, 24, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ds-support-brands {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ds-studio-brand,
.ds-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ds-studio-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.ds-studio-brand span {
  font-family: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  font-size: clamp(0.8rem, 1.3vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

.ds-brand-sep {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.ds-app-brand {
  color: #f0eeff;
  font-weight: 700;
}

.ds-app-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.ds-app-brand span {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.ds-support-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.ds-support-nav a {
  color: rgba(240, 238, 255, 0.62);
  text-decoration: none;
  transition: color 160ms ease;
}

.ds-support-nav a:hover {
  color: #ffffff;
}

/* ---------- Footer ---------- */

.ds-support-footer {
  background: #0b0613;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(240, 238, 255, 0.5);
}

.ds-support-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(18px, 3vw, 40px) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.ds-support-footer__links {
  display: flex;
  gap: 20px;
}

.ds-support-footer a {
  color: rgba(240, 238, 255, 0.62);
  text-decoration: none;
  transition: color 160ms ease;
}

.ds-support-footer a:hover {
  color: #ffffff;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .ds-support-header {
    gap: 12px 16px;
  }

  .ds-support-nav {
    width: 100%;
    margin-left: 0;
    gap: 16px;
    flex-wrap: wrap;
  }

  .ds-support-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ---------- App Store badge (shared CTA) ---------- */

.app-store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 9px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.86;
}

.app-store-badge__img {
  display: block;
  height: 48px;
  width: auto;
}

@media (prefers-reduced-motion: reduce) {
  .ds-support-nav a,
  .ds-support-footer a,
  .app-store-badge {
    transition: none;
  }
}
