@import "https://assets.elements.dev/assets/app/shared/styles/page.2a5aa52f2ca45cbd.css";

/*
 * <ContentCta> styles. The join offer is one row in a lightly tinted box,
 * words on the left and the button on the right: contained enough to read
 * as an offer, compact enough not to read as a banner.
 */
.content-cta {
  margin: 0;
}

/* The nav footer carries a bottom margin of its own; the install link is
   pulled up into it so it reads as part of that band. */
.nav-footer-row + .content-cta { margin-top: -2rem; }
.content-cta .install-cta-line { margin: 10px 0 0; }

.content-cta-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--bg));
  border-radius: var(--radius-lg);
}

.content-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.content-cta-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: var(--weight-semibold);
  color: var(--ink);
}

.content-cta-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.content-cta-go {
  flex-shrink: 0;
}

/* Stacked on a phone, with the button full width under the thumb. */
@media (max-width: 520px) {
  .content-cta-subscribe {
    flex-direction: column;
    align-items: stretch;
  }
}
