/* The one site footer (SiteFooter.tsx), copied as-is from Snaphomz-frontend-prod/src/components/footer/site-footer.css.
   Self-contained: scoped by .sf, no dependency on the landing page's .hv2 scope, so it looks identical everywhere
   it's used in this demo. Demo-only: every link here is a plain <span> (no href) — nothing in the footer is
   clickable except, where added, Talk track / Autoplay / Presenter view (.sf-ctrl) — real buttons styled to
   match the other menu items (.sf-col ul li span), not a separate toolbar. */
.sf {
  margin-top: auto;
  width: 100%;
  background: #1a1a1a;
  color: #ffffff;
  padding: 4rem 2rem;
  font-family: inherit;
  line-height: 1.5;
  /* Demo-only: the real site's footer is always full page width, so its breakpoints below can key off the
     viewport. Here the footer is also reused inside the simulated-page mockup, which is much narrower than
     the viewport — a viewport media query wouldn't fire there, so the 4-column grid would overflow its own
     box instead of stacking. Making .sf a size container lets the same breakpoints key off its REAL width
     in both places, via @container below (next to each @media twin they replace). */
  container-type: inline-size;
}
.sf-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  gap: 3rem;
}
.sf-col h4 {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}
.sf-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sf-col ul li {
  margin-bottom: 0.8rem;
}
.sf-col ul li span {
  color: #888888;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
  cursor: default;
}
.sf-col ul li span:hover {
  color: #888888;
}
/* Sell is "Stay Tuned": dimmer than the other links. */
.sf-col ul li span.sf-link-soon {
  color: #4a4a4a;
}

/* Demo-only: Talk track / Autoplay / Presenter view, as a second menu under Company instead of a toolbar.
   Real, clickable buttons (unlike the plain-span links above) — same look, but with real hover/pressed states. */
.sf-h4-sub {
  margin-top: 1.75rem;
}
.sf-ctrl {
  all: unset;
  display: inline-block;
  color: #888888;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}
.sf-ctrl:hover {
  color: #ffffff;
}
.sf-ctrl[aria-pressed="true"] {
  color: #d4f776;
}

.sf-logo {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}
.sf-logo svg {
  display: block;
  width: 165px;
  height: auto;
  max-width: 100%;
}
.sf-info {
  margin-bottom: 1.5rem;
  color: #888888;
  font-size: 0.8rem;
  line-height: 1.6;
}
.sf-support {
  margin: -0.75rem 0 1.5rem;
  color: #888888;
  font-size: 0.8rem;
  line-height: 1.6;
}
.sf-support span {
  color: #cccccc;
  text-decoration: underline;
  cursor: default;
}
.sf-social {
  display: flex;
  gap: 1rem;
}
.sf-social span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #333333;
  color: #888888;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.sf-social svg {
  width: 15px;
  height: 15px;
}

.sf-disclaimer {
  margin: 0;
  color: #666666;
  font-size: 0.85rem;
  line-height: 1.65;
}
.sf-dnss {
  display: inline-block;
  margin-top: 1rem;
  color: #888888;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: default;
}
.sf-location {
  max-width: 1200px;
  margin: 0 auto;
}
.sf-location-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}
.sf-location-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  flex: none;
}
.sf-location-update {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  cursor: default;
}
.sf-copy {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #666666;
  font-size: 0.75rem;
}

@media (max-width: 1100px) {
  .sf-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .sf {
    padding: 3rem 1rem;
  }
  /* Phones: brand block on top, Company and Legal side by side, Disclaimer last. */
  .sf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .sf-grid > .sf-col:first-child,
  .sf-grid > .sf-col:last-child {
    grid-column: 1 / -1;
  }
  .sf-logo svg {
    width: 140px;
  }
  .sf-col h4 {
    margin-bottom: 1rem;
  }
  .sf-col ul li {
    margin-bottom: 0;
  }
  .sf-col ul li span,
  .sf-col ul li .sf-ctrl {
    display: inline-block;
    padding: 0.4rem 0;
  }
  .sf-dnss {
    padding: 0.35rem 0;
    margin-top: 0.65rem;
  }
}
/* Same two breakpoints as above, keyed off .sf's own rendered width instead of the viewport — the version
   that actually fires when .sf is nested inside the narrower simulated-page mockup (see the comment on .sf). */
@container (max-width: 1100px) {
  .sf-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@container (max-width: 900px) {
  .sf {
    padding: 3rem 1rem;
  }
  .sf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .sf-grid > .sf-col:first-child,
  .sf-grid > .sf-col:last-child {
    grid-column: 1 / -1;
  }
  .sf-logo svg {
    width: 140px;
  }
  .sf-col h4 {
    margin-bottom: 1rem;
  }
  .sf-col ul li {
    margin-bottom: 0;
  }
  .sf-col ul li span,
  .sf-col ul li .sf-ctrl {
    display: inline-block;
    padding: 0.4rem 0;
  }
  .sf-dnss {
    padding: 0.35rem 0;
    margin-top: 0.65rem;
  }
}
