@media (max-width: 1024px) {
  .l7-stage {
    min-height: 0;
    aspect-ratio: 16/10;
  }
}
@media (max-width: 680px) {
  .l7-stage {
    aspect-ratio: 16/11;
    border-radius: 20px;
  }
}

@media (max-width: 980px) {
  .l7-row__copy {
    align-items: center;
    text-align: center;
  }
  .l7-row__copy :is(.l7-h3, .l7-p) {
    margin-inline: auto;
  }
  .l7-row__copy .l7-list {
    text-align: start;
  }
  .l7-row__copy .l7-stats {
    justify-content: center;
  }
  .l7-row__copy .l7-stat {
    align-items: center;
  }
}

@media (max-width: 680px) {
  .lp-wrap {
    padding-inline: 20px;
  }

  .lp-head__in {
    gap: 12px;
  }
  .lp-logo {
    flex: none;
  }
  .lp-logo img {
    height: 30px;
    width: auto;
  }
  .lp-nav {
    gap: 4px;
    flex: none;
  }
  .lp-signin {
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 14px;
  }
  .lp-nav .lp-btn--sm {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .l7-logos__row {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    column-gap: 28px;
    row-gap: 20px;
  }
  .l7-logo {
    justify-self: start;
  }

  .l7-say.is-lead {
    display: flex;
    flex-direction: column;
    padding: 24px;
  }
  .l7-say.is-lead .l7-say__mark {
    margin-bottom: 22px;
  }
  .l7-say.is-lead .l7-say__t {
    max-width: none;
  }
}

@media (max-width: 359px) {
  html[data-lp-family] .lp-head .lp-theme {
    display: none;
  }
  .lp-head__in {
    gap: 8px;
  }

  .l7-logos__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }
  .l7-logo {
    gap: 8px;
    min-width: 0;
  }
  .l7-logo__n {
    font-size: 12.5px;
    white-space: normal;
    min-width: 0;
  }
  .di1-fan {
    scale: 0.86;
  }
}

.l7-foot {
  padding-top: clamp(36px, 4.6vh, 52px);
}
.l7-foot__in {
  padding-bottom: clamp(30px, 3.8vh, 44px);
  row-gap: 24px;
}

.l7-foot__brand {
  gap: 16px;
}
.l7-foot__xpin {
  position: relative;
  padding-inline-start: 17px;
}
.l7-foot__xpin::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  transform: translateY(-50%);
  background: color-mix(in srgb, #fff 16%, transparent);
}

.l7-foot__links {
  gap: clamp(6px, 1vw, 14px);
}
.l7-foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  transition:
    color 0.18s var(--ease),
    background 0.18s var(--ease);
}
.l7-foot__links a:hover {
  background: color-mix(in srgb, #fff 6%, transparent);
}

.l7-foot__soc {
  gap: 10px;
}
.l7-foot__s {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.l7-foot__s:hover {
  background: color-mix(in srgb, #fff 9%, transparent);
  transform: translateY(-1px);
}

.l7-foot :is(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.l7-foot__bar {
  padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px));
  letter-spacing: 0.005em;
}

html[data-theme="light"][data-lp-family="7"] .l7-foot__xpin::before {
  background: color-mix(in srgb, #000 14%, transparent);
}
html[data-theme="light"][data-lp-family="7"] .l7-foot__links a:hover {
  background: color-mix(in srgb, #000 5%, transparent);
}
html[data-theme="light"][data-lp-family="7"] .l7-foot__s:hover {
  background: color-mix(in srgb, #000 7%, transparent);
}

html[data-theme="light"] :is(.l7-foot__logo, .lp-logo img) {
  content: url("../assets/spark-wordmark-light.svg");
}
html[data-theme="dark"] :is(.l7-foot__logo, .lp-logo img) {
  content: url("../assets/spark-wordmark.svg");
}

@media (prefers-reduced-motion: reduce) {
  .l7-foot__s:hover {
    transform: none;
  }
}

@media (max-width: 680px) {
  .l7-foot__in {
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: 20px;
  }
  .l7-foot__brand {
    flex-direction: column;
    gap: 10px;
  }
  .l7-foot__xpin {
    padding-inline-start: 0;
    min-height: 32px;
  }
  .l7-foot__xpin::before {
    content: none;
  }
  .l7-foot__right {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .l7-foot__links {
    gap: 8px;
  }
  .l7-foot__links a {
    min-height: 40px;
    padding: 0 14px;
  }
  .l7-foot__soc {
    gap: 12px;
  }
  .l7-foot__s {
    width: 44px;
    height: 44px;
  }
  .l7-foot__s svg {
    width: 18px;
    height: 18px;
  }
  .l7-foot__bar {
    font-size: 12px;
    padding-inline: 20px;
  }
}

@media (max-width: 680px) {
  .lp-top {
    right: 16px;
    bottom: 16px;
  }
}
