#hero-heading {
  text-shadow: 2px 2px 14px #122b3e85;
}

@media (max-width: 1024px) {
  #hero-heading {
    margin-left: -5px;
  }
}

@media (max-width: 640px) {
  #hero-heading {
    margin-left: -3px;
    text-shadow: 2px 2px 14px #122b3ed6;
  }

  h1 {
    font-size: 2.92rem;
  }

  .home-frame .hero__content {
    padding-top: 11.5rem;
  }

  .store-badge img {
    height: 3rem;
  }

  .hero__supporting-line {
    max-width: 16rem;
    margin-top: 0;
    line-height: 1.3;
    text-shadow: 1px 1px 8px #122b3e;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 2.62rem;
  }
}

@media (min-width: 641px) {
  .hero__supporting-line {
    max-width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1400px) {
  .hero__picture img {
    width: 110%;
    max-width: none;
    transform: translateX(-120px);
  }
}

@media (min-width: 1025px) {
  #hero-heading {
    margin-left: -12px;
  }
}

.about-hero {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
}

.about-hero__picture {
  position: absolute;
  inset: 0;
}

.about-hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%;
}

.about-article-page--healthy .about-hero__picture .about-hero__image--healthy {
  object-position: center 90%;
}

.about-hero__picture .about-hero__image--beach {
  object-position: center 60%;
}

.about-article-page--fresh .about-hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.about-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--container-pad) * 2), var(--content-max));
  margin-inline: auto;
  padding: 12rem 0 3.2rem;
}

@media (max-width: 640px) {
  .about-article-page--era .about-hero__content {
    padding-top: 14.2rem;
  }

  .about-article-page--era .about-hero h1 {
    font-size: 1.6rem;
  }

  .about-article-page--fresh .about-hero__content {
    position: relative;
    z-index: 1;
    width: min(100% - (var(--container-pad) * 2), var(--content-max));
    margin-inline: auto;
    padding: 28rem 0 3.2rem;
  }
}

.about-article-page--beach .about-hero__content {
  padding: 16.2rem 0 5rem;
}

.about-hero h1 {
  max-width: 42rem;
  font-size: 2rem;
  text-shadow: 2px 2px 14px #122b3ed6;
}

.about-hero h1 span {
  white-space: normal;
}

.about-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, #1d5a96 0%, #184b7c 100%);
  box-shadow: var(--shadow-blue-panel);
}

.about-panel__inner {
  display: grid;
  width: min(100% - (var(--container-pad) * 2), var(--content-max));
  gap: var(--space-xl);
  margin-inline: auto;
  padding: 2.15rem 0 2.5rem;
}

.about-story {
  display: grid;
  max-width: 42rem;
  gap: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.06rem;
  line-height: 1.48;
}

.feature-list-block {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.feature-list-block h2 {
  margin: 0;
  color: var(--app-sun);
  font-family: var(--font-control);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li {
  padding-left: 0.15rem;
}

.feature-list strong {
  color: var(--app-white);
  font-weight: 800;
}

.feature-list strong::after {
  content: " - ";
}

.about-cta {
  display: grid;
  gap: var(--space-md);
  padding-top: 0.45rem;
}

.about-cta__line {
  color: var(--app-white);
  font-weight: 800;
}

.invite-card {
  display: grid;
  max-width: 25rem;
  gap: var(--space-sm);
}

.invite-card p {
  color: var(--app-white);
  font-weight: 700;
}

.invite-card__button {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--app-sun);
  color: var(--app-deep);
  padding: 0.78rem 1.2rem;
  font-family: var(--font-control);
  font-weight: 800;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.invite-card__button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.about-art-slot {
  display: none;
}

.about-pullout blockquote {
  margin: 0;
}

.about-editorial-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-archive {
  min-height: 100vh;
  background: linear-gradient(180deg, #073766 0%, #184b7c 100%);
}

.about-archive__inner {
  display: grid;
  width: min(100% - (var(--container-pad) * 2), 760px);
  gap: var(--space-xl);
  margin-inline: auto;
  padding: 10.5rem 0 4rem;
}

.about-archive h1 {
  max-width: 38rem;
  font-size: 2.7rem;
}

.about-archive__links {
  display: grid;
  gap: 1rem;
}

.about-archive__links a {
  min-height: 44px;
  color: #ececec;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.about-archive__links a:hover {
  color: var(--app-sun);
}

.about-archive__nowrap {
  white-space: nowrap;
}

.about-archive__arrow {
  display: inline-block;
  position: relative;
  top: 2px;
  margin-left: 0.32rem;
  color: var(--app-sun);
  font-family: var(--font-control);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 0.5;
}

.placeholder-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #073766 0%, #184b7c 100%);
}

.placeholder-page__inner {
  display: grid;
  width: min(100% - (var(--container-pad) * 2), 760px);
  gap: var(--space-md);
  margin-inline: auto;
  padding: 10.5rem 0 4rem;
}

.placeholder-page h1 {
  max-width: 38rem;
  font-size: 2.7rem;
}

.placeholder-page p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.placeholder-page a {
  color: var(--app-sun);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.placeholder-page__address {
  max-width: 36rem;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  font-size: 1.04rem;
  line-height: 1.55;
}

.placeholder-page__address strong {
  color: var(--app-white);
  font-weight: 800;
}

.placeholder-page__section {
  display: grid;
  max-width: 42rem;
  gap: 0.8rem;
  padding-top: 0.8rem;
}

.placeholder-page__section h2 {
  font-size: 1.45rem;
}

.placeholder-page__section ol,
.placeholder-page__section ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
  line-height: 1.55;
}

.placeholder-page__section strong {
  color: var(--app-white);
}

.placeholder-page a.placeholder-page__action {
  display: inline-flex;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--app-sun);
  color: var(--app-deep);
  text-decoration: none;
}

.placeholder-page a.placeholder-page__action:hover {
  background: var(--app-white);
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #073766 0%, #184b7c 100%);
}

.legal-page__inner {
  width: min(100% - (var(--container-pad) * 2), 860px);
  margin-inline: auto;
  padding: 9.6rem 0 4rem;
}

.legal-document {
  border-radius: 24px;
  background: var(--app-white);
  color: var(--app-grey-800);
  padding: clamp(1.35rem, 4vw, 3rem);
  box-shadow: 0 24px 70px rgba(3, 4, 94, 0.2);
}

.legal-document h1,
.legal-document h2,
.legal-document h3,
.legal-modal__body h1,
.legal-modal__body h2,
.legal-modal__body h3 {
  color: var(--app-deep);
  letter-spacing: 0;
}

.legal-document h1,
.legal-modal__body h1 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.05;
}

.legal-document h2,
.legal-modal__body h2 {
  margin-top: 2rem;
  font-family: var(--font-control);
  font-size: 1.24rem;
  line-height: 1.24;
}

.legal-document h3,
.legal-modal__body h3 {
  margin-top: 1.35rem;
  font-family: var(--font-control);
  font-size: 1rem;
  line-height: 1.3;
}

.legal-document p,
.legal-document li,
.legal-modal__body p,
.legal-modal__body li {
  color: var(--app-grey-800);
  font-size: 1rem;
  line-height: 1.62;
}

.legal-document p + p,
.legal-modal__body p + p {
  margin-top: 1rem;
}

.legal-document ul,
.legal-modal__body ul {
  display: grid;
  gap: 0.38rem;
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

.legal-loading {
  color: var(--app-grey-700);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-items: end;
  justify-items: center;
  background: rgba(3, 4, 94, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    background-color 180ms ease,
    opacity 180ms ease;
}

.legal-modal.is-open {
  background: rgba(3, 4, 94, 0.46);
  opacity: 1;
  pointer-events: auto;
}

.legal-modal__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(92vh, 820px);
  width: min(100%, 720px);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--app-white);
  box-shadow: 0 -20px 70px rgba(3, 4, 94, 0.34);
  transform: translateY(105%);
  transition: transform 220ms ease;
}

.legal-modal.is-open .legal-modal__panel {
  transform: translateY(0);
}

.legal-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--app-grey-200);
  padding: 1rem 1.15rem 0.9rem;
}

.legal-modal__header h2 {
  margin: 0;
  color: var(--app-deep);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.12;
}

.legal-modal__header button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--app-grey-700);
  cursor: pointer;
  font-family: var(--font-control);
  font-weight: 800;
}

.legal-modal__body {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.15rem;
}

.legal-modal-is-open {
  overflow: hidden;
}

@media (min-width: 641px) {
  .about-hero {
    min-height: 30rem;
  }

  .about-hero__content {
    padding-top: 10.5rem;
  }

  .about-hero h1 {
    font-size: 3.35rem;
  }

  .about-panel__inner {
    padding-top: 2.85rem;
  }

  .about-story {
    font-size: 1.12rem;
  }

  .about-archive h1 {
    font-size: 3.35rem;
  }

  .placeholder-page h1 {
    font-size: 3.35rem;
  }

  .placeholder-page p {
    font-size: 1.16rem;
  }
}

@media (min-width: 1025px) {
  .about-hero {
    min-height: 32rem;
  }

  .about-hero__content {
    padding-top: 12.1rem;
  }

  .about-hero h1 {
    max-width: 54rem;
    font-size: 3.72rem;
  }

  .about-article-page--beach .about-hero h1 {
    max-width: 65rem;
  }

  .about-hero h1 span {
    white-space: nowrap;
  }

  .about-article-page .about-hero h1 span {
    white-space: normal;
  }

  .about-panel__inner {
    grid-template-columns: minmax(0, 0.68fr) minmax(15rem, 0.32fr);
    align-items: stretch;
    padding: 3.25rem 0 2.9rem;
  }

  .about-art-slot {
    display: grid;
    min-height: 32rem;
    align-items: center;
  }

  .about-pullout {
    padding-left: 2.5rem;
    padding-bottom: 10rem;
  }

  .about-pullout blockquote {
    max-width: 18rem;
    color: var(--app-white);
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 300;
    line-height: 1.08;
  }
}

.invite-app {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 13.5rem, rgba(0, 180, 216, 0.34), transparent 17rem),
    radial-gradient(circle at 50% 8rem, rgba(255, 183, 3, 0.1), transparent 11rem),
    linear-gradient(180deg, #0d2b5e 0%, #07264d 42%, #061a3c 100%);
  color: var(--app-white);
}

.invite-brand {
  width: min(100% - 2rem, 680px);
  margin-inline: auto;
  padding: 1rem 0 0.8rem;
}

.invite-brand img {
  width: 9.25rem;
  height: auto;
}

.invite-main {
  width: min(100%, 680px);
  margin-inline: auto;
  padding-bottom: 2.4rem;
}

.invite-header {
  margin-bottom: 2.2rem;
}

.invite-section-label {
  color: var(--app-sun);
  font-family: var(--font-control);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.invite-personal-hero h1,
.invite-form__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.invite-personal-hero h1 {
  color: var(--app-white);
}

.invite-form__intro h2 {
  color: var(--app-deep);
}

.invite-personal-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.invite-personal-hero {
  display: grid;
  min-height: 20rem;
  place-items: center;
  gap: 0.8rem;
  padding: 3.5rem 1.5rem 2.6rem;
  text-align: center;
}

.invite-personal-hero h1 {
  max-width: 28rem;
  font-size: 2.35rem;
  line-height: 1.05;
}

.invite-personal-hero p {
  max-width: 25rem;
}

.invite-context-line {
  margin: 0;
  color: var(--app-sun);
  font-family: var(--font-control);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.invite-social-proof {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.36rem;
  max-width: 25rem;
  margin: -0.2rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-control);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.42rem 0.78rem;
}

.invite-social-proof span {
  color: rgba(255, 255, 255, 0.38);
}

.invite-era-line {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-control);
  font-weight: 800;
}

.invite-era-line em {
  color: var(--app-sun);
  font-style: normal;
}

.invite-header-actions {
  display: flex;
  width: min(100%, 25rem);
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.72rem;
  margin-inline: auto;
  margin-top: 0.35rem;
}

.invite-header-button {
  display: inline-flex;
  min-height: 3.08rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.82rem 1rem;
  font-family: var(--font-control);
  font-weight: 900;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.invite-header-button:hover {
  transform: translateY(-1px);
}

.invite-header-button--primary {
  background: #f5c518;
  color: var(--app-deep);
}

.invite-header-button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--app-white);
}

.invite-header-button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.invite-trust-line {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  font-weight: 700;
}

.invite-avatar {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: var(--app-sky);
  color: var(--app-white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  object-fit: cover;
}

.invite-avatar--large {
  width: 5.5rem;
  height: 5.5rem;
  border-width: 4px;
  box-shadow: 0 20px 50px rgba(3, 4, 94, 0.32);
  font-size: 1.65rem;
}

.invite-form {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin: 0 auto 2.6rem;
  border-radius: 28px 28px 0 0;
  background: var(--app-white);
  color: var(--app-grey-800);
  padding: 1.45rem 1.25rem 1.65rem;
}

.invite-form__intro {
  display: grid;
  gap: 0.42rem;
  text-align: center;
}

.invite-form__intro h2 {
  font-size: 1.55rem;
  line-height: 1.12;
}

.invite-form__fields {
  display: grid;
  gap: 0.88rem;
}

.invite-signup-details {
  display: grid;
  gap: 1rem;
}

.invite-signup-details[hidden] {
  display: none;
}

.invite-field {
  display: grid;
  gap: 0.42rem;
}

.invite-field label,
.invite-checkbox {
  color: var(--app-deep);
  font-family: var(--font-control);
  font-size: 0.94rem;
  font-weight: 700;
}

.invite-field input,
.invite-field select {
  min-height: 3.3rem;
  width: 100%;
  border: 1px solid rgba(3, 4, 94, 0.13);
  border-radius: 14px;
  background: var(--app-white);
  color: var(--app-grey-800);
  font: 600 1rem/1.2 var(--font-body);
  padding: 0.88rem 1rem;
}

.invite-field input::placeholder {
  color: var(--app-grey-600);
}

.invite-field p,
.invite-birthday-extra p,
.invite-terms,
.invite-confirmation p {
  color: var(--app-grey-700);
  font-size: 0.9rem;
}

.invite-field .invite-age-helper {
  color: var(--app-grey-600);
}

.invite-form__soft-line {
  margin: 0;
  color: var(--app-grey-700);
  font-size: 0.9rem;
  text-align: center;
}

.invite-birthday-extra {
  display: grid;
  max-height: 0;
  gap: 0.55rem;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 220ms ease,
    opacity 180ms ease;
}

.invite-birthday-extra.is-visible {
  max-height: 12rem;
  opacity: 1;
}

.invite-birthday-extra__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.invite-age-message {
  border: 1px solid rgba(245, 197, 24, 0.46);
  border-radius: 14px;
  background: rgba(245, 197, 24, 0.14);
  color: var(--app-deep);
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.invite-submit {
  display: inline-flex;
  min-height: 3.32rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: #f5c518;
  color: var(--app-deep);
  cursor: pointer;
  font-family: var(--font-control);
  font-size: 1rem;
  font-weight: 900;
  padding: 0.9rem 1.2rem;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.invite-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.invite-error-link {
  max-width: 13rem;
}

.invite-terms a,
.invite-confirmation a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.invite-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.35;
}

.invite-checkbox--friend {
  width: 100%;
  align-items: center;
  border: 1px solid rgba(3, 4, 94, 0.1);
  border-radius: 14px;
  background: rgba(13, 43, 94, 0.04);
  padding: 0.78rem 0.9rem;
}

.invite-checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  accent-color: #f5c518;
}

.invite-confirmation {
  display: grid;
  gap: 0.7rem;
}

.invite-confirmation h2 {
  margin: 0;
  color: var(--app-deep);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.05;
}

.invite-confirmation button,
.invite-confirmation__button,
.invite-learn-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--app-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.invite-confirmation__button {
  min-height: 3rem;
  border-radius: 999px;
  background: var(--app-deep);
  color: var(--app-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  text-decoration: none;
}

.invite-learn-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--app-white);
  font-family: var(--font-control);
}

.invite-editorial {
  display: grid;
  gap: 1.2rem;
  padding: 2.4rem 1.25rem 2.7rem;
  background: linear-gradient(180deg, #1d5a96 0%, #184b7c 100%);
  box-shadow: var(--shadow-blue-panel);
}

.invite-editorial__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.invite-editorial-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: var(--space-sm);
  min-height: 13.8rem;
  padding: 1rem 1.35rem 0.95rem;
  color: var(--app-white);
  text-align: center;
}

.invite-editorial-card + .invite-editorial-card {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.invite-editorial-card__icon {
  display: grid;
  width: 5.6rem;
  height: 4.8rem;
  place-items: center;
}

.invite-editorial-card__icon img {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
}

.invite-editorial-card__icon--phone {
  width: 9.5rem;
  height: 6rem;
  margin-bottom: 0.15rem;
}

.invite-editorial-card__icon--phone img {
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.invite-editorial-card__icon--share,
.invite-editorial-card__icon--eras {
  width: clamp(9.5rem, 52vw, 14rem);
  height: clamp(6.5rem, 20vw, 8.5rem);
  margin-bottom: 0.15rem;
}

.invite-editorial-card__icon--share img,
.invite-editorial-card__icon--eras img {
  width: 100%;
  height: auto;
  max-height: 8.5rem;
}

.invite-editorial-card__title {
  max-width: 15.2rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
}

.invite-editorial-card__arrow {
  color: var(--app-sun);
  font-family: var(--font-control);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.invite-footer {
  width: min(100% - 2.5rem, 680px);
  border-top-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 641px) {
  .invite-brand {
    padding-top: 1.3rem;
  }

  .invite-personal-hero {
    min-height: 24rem;
    padding-inline: 2rem;
  }

  .invite-personal-hero h1 {
    font-size: 3.1rem;
  }

  .invite-header {
    margin-bottom: 2.8rem;
  }

  .invite-header-actions {
    width: fit-content;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .invite-form {
    max-width: 620px;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(3, 4, 94, 0.26);
    padding: 2rem;
  }

  .invite-editorial {
    border-radius: 0 0 24px 24px;
    padding: 2.8rem 2rem 3rem;
  }
}

@media (min-width: 1025px) {
  .invite-brand,
  .invite-main {
    width: 680px;
  }

  .invite-editorial__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
  }

  .invite-editorial-card {
    min-height: 12.35rem;
  }

  .invite-editorial-card__icon--phone {
    height: 6.75rem;
  }

  .invite-editorial-card__icon--share,
  .invite-editorial-card__icon--eras {
    width: clamp(9.5rem, 20vw, 12rem);
    height: 6.75rem;
  }

  .invite-editorial-card__icon--share img,
  .invite-editorial-card__icon--eras img {
    max-height: 6.75rem;
  }

  .invite-editorial-card + .invite-editorial-card {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.19);
  }
}

.persistent-invite {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  border-top: 2px solid #f5c518;
  background: rgba(13, 43, 94, 0.94);
  color: var(--app-white);
  box-shadow: 0 -18px 50px rgba(3, 4, 94, 0.28);
  transform: translateY(0);
  transition:
    opacity 200ms ease,
    transform 220ms ease;
}

.inline-invite {
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, 28rem);
  align-items: center;
  gap: 0.72rem;
  margin-top: var(--space-xs);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(13, 43, 94, 0.38);
  padding: 0.55rem 0.62rem;
  color: var(--app-white);
}

.hero .inline-invite:not(.inline-invite--accepted):not(.inline-invite--button-only) {
  border-color: rgba(245, 197, 24, 0.28);
  border-radius: 24px;
  background: rgba(13, 43, 94, 0.88);
  box-shadow: 0 16px 38px rgba(3, 4, 94, 0.24);
}

.inline-invite[hidden] {
  display: none;
}

.inline-invite__context {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.54rem;
}

.inline-invite__avatar {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--app-sky);
  color: var(--app-white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  object-fit: cover;
}

.inline-invite__copy {
  display: grid;
  min-width: 0;
  gap: 0.02rem;
}

.inline-invite__copy strong {
  color: var(--app-white);
  font-size: 0.9rem;
  line-height: 1.14;
}

.inline-invite__copy span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.12;
}

.inline-invite__button {
  min-height: 2.35rem;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius-pill);
  background: #f5c518;
  color: var(--app-deep);
  cursor: pointer;
  font-family: var(--font-control);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0.48rem 0.82rem;
}

.inline-invite--button-only {
  border-color: transparent;
  background: transparent;
  padding-inline: 0;
}

.inline-invite--button-only .inline-invite__context {
  display: none;
}

.inline-invite--accepted {
  border-color: transparent;
  background: transparent;
  padding: 0;
}

.inline-invite--accepted p {
  color: var(--app-white);
  font-weight: 800;
}

@supports (backdrop-filter: blur(14px)) {
  .persistent-invite {
    background: rgba(13, 43, 94, 0.82);
    backdrop-filter: blur(14px);
  }

  .hero .inline-invite:not(.inline-invite--accepted):not(.inline-invite--button-only) {
    background: rgba(13, 43, 94, 0.84);
    backdrop-filter: blur(14px);
  }
}

.persistent-invite.is-dismissed {
  opacity: 0;
  transform: translateY(110%);
}

.persistent-invite__full {
  display: flex;
  min-height: 4.4rem;
  width: min(100% - 1rem, 680px);
  align-items: center;
  gap: 0.65rem;
  margin-inline: auto;
  padding: 0.62rem 0;
}

.persistent-invite__avatar,
.persistent-invite__pill-avatar,
.invite-drawer__avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--app-sky);
  color: var(--app-white);
  font-family: var(--font-display);
  font-weight: 700;
  object-fit: cover;
}

.persistent-invite__avatar {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.82rem;
}

.persistent-invite__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-items: baseline;
}

.persistent-invite__copy strong {
  color: var(--app-white);
  font-size: 0.95rem;
}

.persistent-invite__copy span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  font-weight: 700;
}

.persistent-invite__accept,
.persistent-invite__pill {
  border: 0;
  border-radius: var(--radius-pill);
  background: #f5c518;
  color: var(--app-deep);
  cursor: pointer;
  font-family: var(--font-control);
  font-weight: 900;
}

.persistent-invite__accept {
  min-height: 2.35rem;
  padding: 0.48rem 0.9rem;
}

.persistent-invite__dismiss {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.persistent-invite__pill {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  display: none;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.42rem;
  padding: 0.34rem 0.8rem 0.34rem 0.36rem;
  box-shadow: 0 14px 34px rgba(3, 4, 94, 0.32);
}

.persistent-invite__pill-avatar {
  width: 2rem;
  height: 2rem;
  font-size: 0.72rem;
}

.persistent-invite__dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--app-deep);
}

.persistent-invite.is-collapsed {
  border-top: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.persistent-invite.is-collapsed .persistent-invite__full {
  display: none;
}

.persistent-invite.is-collapsed .persistent-invite__pill {
  display: inline-flex;
  pointer-events: auto;
}

.invite-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
  background: rgba(3, 4, 94, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    background-color 220ms ease,
    opacity 220ms ease;
}

.invite-drawer.is-open {
  background: rgba(3, 4, 94, 0.42);
  opacity: 1;
  pointer-events: auto;
}

.invite-drawer__panel {
  display: grid;
  width: min(100%, 480px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  background: var(--app-white);
  box-shadow: 0 -20px 70px rgba(3, 4, 94, 0.34);
  transform: translateY(105%);
  transition: transform 240ms ease;
}

.invite-drawer.is-open .invite-drawer__panel {
  transform: translateY(0);
}

.invite-drawer__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1.15rem 1.15rem 0.2rem;
}

.invite-drawer__avatar {
  width: 3rem;
  height: 3rem;
  font-size: 1rem;
}

.invite-drawer__header h2 {
  margin: 0;
  color: var(--app-deep);
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.1;
}

.invite-drawer__header p {
  margin-top: 0.18rem;
  color: var(--app-grey-700);
  font-size: 0.92rem;
  font-weight: 700;
}

.invite-drawer__close {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--app-grey-100);
  color: var(--app-deep);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.invite-form--drawer {
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  padding-top: 1rem;
}

.invite-drawer-is-open {
  overflow: hidden;
}

@media (max-width: 359px) {
  .persistent-invite__full {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.45rem 0.6rem;
    padding: 0.7rem 0;
  }

  .persistent-invite__accept {
    grid-column: 1 / -1;
    width: 100%;
  }

  .persistent-invite__dismiss {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (min-width: 641px) {
  .invite-drawer {
    align-items: end;
  }

  .invite-drawer__panel {
    margin-bottom: 1.25rem;
    border-radius: 28px;
  }

  .legal-modal {
    align-items: center;
  }

  .legal-modal__panel {
    height: min(86vh, 820px);
    max-height: min(86vh, 820px);
    border-radius: 24px;
  }
}
