/*
 * Unified site footer — @imported first in landing/styles.css; also linked alone from Blade LP layout.
 * Self-contained (no var() from main stylesheet) so it renders correctly when loaded without styles.css.
 */

/*
 * Do not use the class name `container` for this wrapper on Blade LP pages: Tailwind’s `.container`
 * (from app.css) differs from the marketing `.container` in styles.css and drops horizontal centering.
 */
.landing-footer-shell{
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px){
  .landing-footer-shell{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px){
  .landing-footer-shell{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

footer{
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding: 3rem 0;
  color: #4b5563;
  font-size: 0.875rem;
}

.footer-row{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer-links{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a{
  color: #4b5563;
  text-decoration: none;
}

.footer-links a:hover{
  color: #111827;
}

.is-disabled-link{
  color: #4b5563;
  opacity: 0.72;
  cursor: not-allowed;
  text-decoration: none;
}

.footer-brand{
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827;
}

.footer-brand-by{
  color: inherit;
  text-decoration: none;
}

.footer-brand-by:hover{
  text-decoration: underline;
}

.footer-grid{
  display: grid;
  width: 100%;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px){
  .footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px){
  .footer-grid{
    grid-template-columns: minmax(0, 1.05fr) repeat(3, minmax(0, 1fr));
    column-gap: clamp(2rem, 3.5vw, 3rem);
    row-gap: 2.5rem;
  }
}

.footer-col h3{
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111827;
  margin: 0 0 0.75rem;
}

.footer-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a{
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-col a:hover{
  color: #111827;
}

.footer-col .footer-tagline{
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0.5rem 0 0;
}

.footer-company-meta{
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

:root[data-theme="dark"] footer{
  border-top-color: rgba(148, 163, 184, 0.18);
  color: #94a3b8;
}

:root[data-theme="dark"] .footer-company-meta{
  color: #94a3b8;
}

:root[data-theme="dark"] .footer-brand{
  color: #f1f5f9;
}

:root[data-theme="dark"] .footer-col h3{
  color: #f1f5f9;
}

:root[data-theme="dark"] .footer-col a{
  color: #94a3b8;
}

:root[data-theme="dark"] .footer-col a:hover{
  color: #e2e8f0;
}

:root[data-theme="dark"] .footer-col .footer-tagline{
  color: #94a3b8;
}

:root[data-theme="dark"] .is-disabled-link{
  color: #94a3b8;
}
